org.apache.tools.ant.taskdefs
Class Filter
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()
|
protected void | readFilters()
|
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.
|
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
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
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.