org.apache.tools.ant.filters
public static class TokenFilter.ReplaceRegex extends TokenFilter.ChainableReaderFilter
Method Summary | |
---|---|
String | filter(String line) |
void | setFlags(String flags) |
void | setPattern(String from)
the from attribute |
void | setReplace(String to)
the to attribute |
Parameters: line the string to modify
Returns: the modified string
Parameters: flags the regex flags
Parameters: from the regex string
Parameters: to the replacement string