? CharacterSetFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.commons.io.input.AbstractCharacterFilterReader
org.apache.commons.io.input.CharacterSetFilterReader
- ????????:
Closeable
,AutoCloseable
,Readable
A filter reader that removes a given set of characters represented as
int
code points, handy to remove known
junk characters from CSV files for example.
This class must convert each int
read to an Integer
. You can increase the Integer cache with a system
property, see Integer
.
-
????
??????? org.apache.commons.io.input.AbstractCharacterFilterReader
SKIP_NONE
??????? java.io.FilterReader
in
-
?????
????????CharacterSetFilterReader
(Reader reader, Integer... skip) Constructs a new reader.CharacterSetFilterReader
(Reader reader, Set<Integer> skip) Constructs a new reader. -
????
??????? org.apache.commons.io.input.AbstractCharacterFilterReader
filter, read, read
??????? java.io.FilterReader
close, mark, markSupported, ready, reset, skip
??????? java.io.Reader
nullReader, read, read, transferTo
-
???????
-
CharacterSetFilterReader
Constructs a new reader.- ??:
reader
- the reader to filter.skip
- the set of characters to filter out.- ???????:
- 2.9.0
-
CharacterSetFilterReader
Constructs a new reader.- ??:
reader
- the reader to filter.skip
- the set of characters to filter out.
-