org.apache.tools.ant.taskdefs.optional.dotnet
Class DotnetResource
java.lang.Object
org.apache.tools.ant.taskdefs.optional.dotnet.DotnetResource
public class DotnetResource
extends java.lang.Object
class used by DotnetCompile to name resources, could be upgraded to a datatype
in the distant future.
a resource maps to /res:file,name
String | getCSharpStyleParameter() - build the C# style parameter (which has no public/private option)
|
File | getFile()
|
String | getName()
|
Boolean | getPublic()
|
String | getVbStyleParameter() - This method gets the style of param used by VB and javascript
|
boolean | isEmbed()
|
void | setEmbed(boolean embed) - embed the resource in the assembly (default, true) or just link to it.
|
void | setFile(File file) - name the resource
|
void | setName(String name) - should the resource have a name?
|
void | setPublic(Boolean aPublic) - VB and J# only: is a resource public or not?
|
getCSharpStyleParameter
public String getCSharpStyleParameter()
build the C# style parameter (which has no public/private option)
- the built C# style parameter
getFile
public File getFile()
getName
public String getName()
getPublic
public Boolean getPublic()
getVbStyleParameter
public String getVbStyleParameter()
This method gets the style of param used by VB and javascript
- The style VB parameter being used.
isEmbed
public boolean isEmbed()
setEmbed
public void setEmbed(boolean embed)
embed the resource in the assembly (default, true) or just link to it.
setFile
public void setFile(File file)
name the resource
setName
public void setName(String name)
should the resource have a name?
setPublic
public void setPublic(Boolean aPublic)
VB and J# only: is a resource public or not?
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.