org.apache.tools.ant.taskdefs
public class Replace.Replacefilter extends Object
| Method Summary | |
|---|---|
| String | getProperty()
Get the name of the property whose value is to serve as
the replacement value; |
| String | getReplaceValue()
Get the replacement value for this filter token. |
| String | getToken()
Get the string to search for |
| String | getValue()
Get replacements string |
| void | setProperty(String property)
Set the name of the property whose value is to serve as
the replacement value; required if value is not set. |
| void | setToken(String token)
Set the token to replace |
| void | setValue(String value)
The replacement string; required if property |
| void | validate()
validate the filter's configuration |
Returns: property or null
Returns: the replacement value
Returns: current token
Returns: replacement or null
value is not set.Parameters: property propname
Parameters: token token
property
is not setParameters: value value to replace
Throws: BuildException if any part is invalid