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 replacement 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 String token.
String.Returns: replacement or null.
value is not set.Parameters: property property name.
Parameters: token String token.
property
is not set.Parameters: value String value to replace.
Throws: BuildException if any part is invalid.