public class ParamSet extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ParamSet.FileDirBoth
Enumerated attribute with the values "file", "dir" and "both"
for the type attribute.
|
Modifier and Type | Field and Description |
---|---|
protected String |
type
Defaults to "file".
|
static String |
TYPE_BOTH |
static String |
TYPE_DIR |
static String |
TYPE_FILE |
Constructor and Description |
---|
ParamSet() |
Modifier and Type | Method and Description |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet fileset) |
ParamItem |
createItem() |
protected String[] |
getDirs(File basedir,
org.apache.tools.ant.DirectoryScanner ds)
Return the list of Directories from this DirectoryScanner that
should be included on the command line.
|
protected String[] |
getFiles(File basedir,
org.apache.tools.ant.DirectoryScanner ds)
Return the list of files from this DirectoryScanner that should
be included on the command line.
|
String |
getName() |
Enumeration |
getValues(org.apache.tools.ant.Project project) |
void |
setName(String name) |
void |
setType(ParamSet.FileDirBoth type)
Shall the command work only on files, directories or both?
|
public static final String TYPE_FILE
public static final String TYPE_DIR
public static final String TYPE_BOTH
protected String type
public void addFileset(org.apache.tools.ant.types.FileSet fileset)
public ParamItem createItem()
public void setName(String name)
public String getName()
public Enumeration getValues(org.apache.tools.ant.Project project)
public void setType(ParamSet.FileDirBoth type)
protected String[] getFiles(File basedir, org.apache.tools.ant.DirectoryScanner ds)
Copyright © The Apache Software Foundation. All Rights Reserved.