org.apache.tools.ant.taskdefs
Class Filter
- Cloneable
Sets a token filter that is used by the file copy tasks
to do token substitution. Sets multiple tokens by
reading these from a file.
void | execute() - Execute the task.
|
protected void | readFilters() - Read the filters.
|
void | setFiltersfile(File filtersFile) - The file from which the filters must be read.
|
void | setToken(String token) - The token string without @ delimiters.
|
void | setValue(String value) - The string that should replace the token during filtered copies.
|
bindToOwner , execute , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , log , log , maybeConfigure , perform , reconfigure , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
readFilters
protected void readFilters()
throws BuildException
Read the filters.
setFiltersfile
public void setFiltersfile(File filtersFile)
The file from which the filters must be read.
This file must be a formatted as a property file.
filtersFile
- filter file
setToken
public void setToken(String token)
The token string without @ delimiters.
setValue
public void setValue(String value)
The string that should replace the token during filtered copies.
value
- token replace value