Package org.apache.tools.ant.filters
Class TokenFilter.DeleteCharacters
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.filters.TokenFilter.DeleteCharacters
- All Implemented Interfaces:
- Cloneable,- ChainableReader,- TokenFilter.Filter
- Enclosing class:
- TokenFilter
public static class TokenFilter.DeleteCharacters
extends ProjectComponent
implements TokenFilter.Filter, ChainableReader
Filter to delete characters
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
DeleteCharacterspublic DeleteCharacters()
 
- 
- 
Method Details- 
setCharsSet the list of characters to delete- Parameters:
- deleteChars- the list of characters
 
- 
filterremove characters from a string- Specified by:
- filterin interface- TokenFilter.Filter
- Parameters:
- string- the string to remove the characters from
- Returns:
- the converted string
 
- 
chainfactory method to provide a reader that removes the characters from a reader as part of a filter chain- Specified by:
- chainin interface- ChainableReader
- Parameters:
- reader- the reader object
- Returns:
- the chained reader object
 
 
-