org.apache.tools.ant.types.selectors
public class ExtendSelector extends BaseSelector
Since: 1.5
Constructor Summary | |
---|---|
ExtendSelector()
Default constructor. |
Method Summary | |
---|---|
void | addParam(Parameter p)
Create new parameters to pass to custom selector.
|
Path | createClasspath()
Specify the classpath to use to load the Selector (nested element). |
Path | getClasspath()
Get the classpath |
boolean | isSelected(File basedir, String filename, File file)
Allows the custom selector to choose whether to select a file. |
void | selectorCreate()
Instantiates the identified custom selector class. |
void | setClassname(String classname)
Sets the classname of the custom selector.
|
void | setClasspath(Path classpath)
Set the classpath to load the classname specified using an attribute. |
void | setClasspathref(Reference r)
Set the classpath to use for loading a custom selector by using
a reference. |
void | verifySettings()
These are errors specific to ExtendSelector only. |
Parameters: p The new Parameter object
Returns: a classpath to be configured
Returns: the classpath
Parameters: basedir The the base directory. filename The name of the file to check. file A File object for this filename.
Returns: whether the file should be selected or not.
Throws: BuildException if an error occurs.
Parameters: classname is the class which implements this selector
Parameters: classpath the classpath to use
Parameters: r a reference to the classpath