public class CharacterFilterReader extends AbstractCharacterFilterReader
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.SKIP_NONEin| Constructor and Description |
|---|
CharacterFilterReader(Reader reader,
int skip)
Constructs a new reader.
|
CharacterFilterReader(Reader reader,
IntPredicate skip)
Constructs a new reader.
|
filter, read, readclose, mark, markSupported, ready, reset, skippublic CharacterFilterReader(Reader reader, int skip)
reader - the reader to filter.skip - the character to filter out.public CharacterFilterReader(Reader reader, IntPredicate skip)
reader - the reader to filter.skip - Skip test.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.