| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ant.dotnet.compile.DotnetResource
public class DotnetResource
Used by DotnetCompile to name resources.
 Could be upgraded to a datatype in the distant future.
 A resource maps to /res:file,name
| Constructor Summary | |
|---|---|
| DotnetResource() | |
| Method Summary | |
|---|---|
|  void | addFileset(org.apache.tools.ant.types.FileSet fileset)Adds a resource file set. | 
|  java.io.File | getFile() | 
|  java.lang.String | getName() | 
|  java.lang.String | getNamespace()Filesets root namespace. | 
|  void | getParameters(org.apache.tools.ant.Project p,
              NetCommand command,
              boolean csharpStyle)build the C# style parameter (which has no public/private option) | 
|  java.lang.Boolean | getPublic() | 
|  boolean | hasFilesets()Checks that | 
|  boolean | isEmbed() | 
|  void | setEmbed(boolean embed)embed the resource in the assembly (default, true) or just link to it. | 
|  void | setFile(java.io.File file)name the resource | 
|  void | setName(java.lang.String name)should the resource have a name? | 
|  void | setNamespace(java.lang.String namespace)Sets filesets root namespace. | 
|  void | setPublic(java.lang.Boolean aPublic)VB and J# only: is a resource public or not? | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DotnetResource()
| Method Detail | 
|---|
public boolean isEmbed()
public void setEmbed(boolean embed)
embed - public java.io.File getFile()
public void setFile(java.io.File file)
file - public java.lang.Boolean getPublic()
public void setPublic(java.lang.Boolean aPublic)
aPublic - public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
namespace - String root namespace
public void getParameters(org.apache.tools.ant.Project p,
                          NetCommand command,
                          boolean csharpStyle)
public void addFileset(org.apache.tools.ant.types.FileSet fileset)
fileset - FileSetpublic boolean hasFilesets()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||