Package org.apache.tools.ant.taskdefs
Class Filter
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Filter
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Execute the task.protected voidRead the filters.voidsetFiltersfile(File filtersFile) The file from which the filters must be read.voidThe token string without @ delimiters.voidThe string that should replace the token during filtered copies.Methods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
Filterpublic Filter()
 
- 
- 
Method Details- 
setTokenThe token string without @ delimiters.- Parameters:
- token- token to set
 
- 
setValueThe string that should replace the token during filtered copies.- Parameters:
- value- token replace value
 
- 
setFiltersfileThe file from which the filters must be read. This file must be a formatted as a property file.- Parameters:
- filtersFile- filter file
 
- 
executeExecute the task.- Overrides:
- executein class- Task
- Throws:
- BuildException- on error
 
- 
readFiltersRead the filters.- Throws:
- BuildException- on error
 
 
-