| |
|
| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.LoadProperties
LoadProperties | public class LoadProperties extends Task (Code) | | Load a file's contents as Ant properties.
since: Ant 1.5 |
addConfigured | public void addConfigured(ResourceCollection a)(Code) | | Set the source resource.
Parameters: a - the resource to load as a single element Resource collection. since: Ant 1.7 |
addFilterChain | final public void addFilterChain(FilterChain filter)(Code) | | Adds a FilterChain.
Parameters: filter - the filter to add |
createClasspath | public Path createClasspath()(Code) | | Add a classpath to use when looking up a resource.
The classpath to be configured |
execute | final public void execute() throws BuildException(Code) | | load Ant properties from the source file or resource
exception: BuildException - if something goes wrong with the build |
getClasspath | public Path getClasspath()(Code) | | get the classpath used by this LoadProperties .
The classpath |
setClasspath | public void setClasspath(Path classpath)(Code) | | Set the classpath to use when looking up a resource.
Parameters: classpath - to add to any existing classpath |
setClasspathRef | public void setClasspathRef(Reference r)(Code) | | Set the classpath to use when looking up a resource,
given as reference to a <path> defined elsewhere
Parameters: r - The reference value |
setResource | public void setResource(String resource)(Code) | | Set the resource name of a property file to load.
Parameters: resource - resource on classpath |
setSrcFile | final public void setSrcFile(File srcFile)(Code) | | Set the file to load.
Parameters: srcFile - The new SrcFile value |
|
|
|