org.apache.tools.ant.taskdefs.optional.dotnet
public class DotnetResource extends Object
Method Summary | |
---|---|
void | addFileset(FileSet fileset)
Adds a resource file set.
|
File | getFile()
The file resource. |
String | getName()
The name of the resource. |
String | getNamespace()
Filesets root namespace. |
void | getParameters(Project p, NetCommand command, boolean csharpStyle)
build the C# style parameter (which has no public/private option) |
Boolean | getPublic()
Get the public attribute. |
boolean | hasFilesets()
Checks that |
boolean | isEmbed()
Return the embed attribute. |
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 | setNamespace(String namespace)
Sets filesets root namespace.
|
void | setPublic(Boolean aPublic)
VB and J# only: is a resource public or not?
|
Parameters: fileset FileSet
Returns: the file resource.
Returns: the name of the resource.
Returns: String namespace name
Parameters: p the current project. command the command. csharpStyle a boolean
attribute.
Returns: the public attribute.
Returns: boolean
Returns: the embed value.
Parameters: embed a boolean
value.
Parameters: file the file.
Parameters: name the name of the resource.
Parameters: namespace String root namespace
Parameters: aPublic a boolean
value.