org.apache.tools.ant.filters
Class TokenFilter.ReplaceString
- TokenFilter
- ChainableReader, TokenFilter.Filter
public static class TokenFilter.ReplaceString
Simple replace string filter.
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
|
filter
public String filter(String line)
Filter a string 'line' replacing from with to
(C&P from the Replace task)
- filter in interface TokenFilter.Filter
line
- the string to be filtered
setFrom
public void setFrom(String from)
the from attribute
from
- the string to replace
setTo
public void setTo(String to)
the to attribute
to
- the string to replace 'from' with
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.