org.apache.tools.ant.filters
public static class TokenFilter.ReplaceString extends TokenFilter.ChainableReaderFilter
Method Summary | |
---|---|
String | filter(String line)
Filter a string 'line' replacing from with to
(C&P from the Replace task) |
void | setFrom(String from)
the from attribute
|
void | setTo(String to)
the to attribute
|
Parameters: line the string to be filtered
Returns: the filtered line
Parameters: from the string to replace
Parameters: to the string to replace 'from' with