Package org.apache.commons.io.input
Class CharacterFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.commons.io.input.AbstractCharacterFilterReader
org.apache.commons.io.input.CharacterFilterReader
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Readable
A filter reader that filters out a given character represented as an 
int code point, handy to remove
 known junk characters from CSV files for example. This class is the most efficient way to filter out a single
 character, as opposed to using a CharacterSetFilterReader. You can also nest CharacterFilterReaders.- 
Field SummaryFields inherited from class org.apache.commons.io.input.AbstractCharacterFilterReaderSKIP_NONEFields inherited from class java.io.FilterReaderin
- 
Constructor SummaryConstructorsConstructorDescriptionCharacterFilterReader(Reader reader, int skip) Constructs a new reader.CharacterFilterReader(Reader reader, IntPredicate skip) Constructs a new reader.
- 
Method SummaryMethods inherited from class org.apache.commons.io.input.AbstractCharacterFilterReaderfilter, read, readMethods inherited from class java.io.FilterReaderclose, mark, markSupported, ready, reset, skip
- 
Constructor Details- 
CharacterFilterReaderConstructs a new reader.- Parameters:
- reader- the reader to filter.
- skip- the character to filter out.
 
- 
CharacterFilterReaderConstructs a new reader.- Parameters:
- reader- the reader to filter.
- skip- Skip test.
- Since:
- 2.9.0
 
 
-