Method Summary |
|
public Path | createClasspath() Classpath to be used when searching for classes and resources. |
public Path | createFilepath() Path to search for file resources. |
public boolean | eval() Evaluate the availability of a resource. |
public void | execute() Entry point when operating as a task. |
public void | setClassname(String classname) Set a classname of a class which must be available to set the given
property. |
public void | setClasspath(Path classpath) Set the classpath to be used when searching for classes and resources. |
public void | setClasspathRef(Reference r) Set the classpath by reference. |
public void | setFile(File file) Set the file which must be present in the file system to set the given
property. |
public void | setFilepath(Path filepath) Set the path to use when looking for a file. |
public void | setIgnoresystemclasses(boolean ignore) Set whether the search for classes should ignore the runtime classes and
just use the given classpath. |
public void | setProperty(String property) Set the name of the property which will be set if the particular resource
is available. |
public void | setResource(String resource) Set the name of a Java resource which is required to set the property. |
public void | setSearchParents(boolean searchParents) Set the searchParents attribute.
This controls the behaviour of the the "file" type.
If true, the path, parent path and grandparent path are
searched for the file. |
public void | setType(String type) |
public void | setType(FileDir type) Set what type of file is required - either directory or file. |
public void | setValue(String value) Set the value to be given to the property if the desired resource is
available. |