org.apache.tools.ant.filters
Class TokenFilter.DeleteCharacters
- TokenFilter
- ChainableReader, TokenFilter.Filter
public static class TokenFilter.DeleteCharacters
Filter to delete characters
Reader | chain(Reader reader) - factory method to provide a reader that removes
the characters from a reader as part of a filter
chain
|
String | filter(String string) - remove characters from a string
|
void | setChars(String deleteChars) - Set the list of characters to delete
|
chain
public Reader chain(Reader reader)
factory method to provide a reader that removes
the characters from a reader as part of a filter
chain
- chain in interface ChainableReader
reader
- the reader object
- the chained reader object
filter
public String filter(String string)
remove characters from a string
- filter in interface TokenFilter.Filter
string
- the string to remove the characters from
setChars
public void setChars(String deleteChars)
Set the list of characters to delete
deleteChars
- the list of characters
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.