? AbstractCharacterFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.commons.io.input.AbstractCharacterFilterReader
- ????????:
Closeable
,AutoCloseable
,Readable
A filter reader that filters out characters where subclasses decide which characters to filter out.
-
????
????????? java.io.FilterReader
in
-
?????
???????????protected
AbstractCharacterFilterReader
(Reader reader) Constructs a new reader.protected
AbstractCharacterFilterReader
(Reader reader, IntPredicate skip) Constructs a new reader. -
????
??????? java.io.FilterReader
close, mark, markSupported, ready, reset, skip
??????? java.io.Reader
nullReader, read, read, transferTo
-
??????
-
SKIP_NONE
Skips nothing.- ???????:
- 2.9.0
-
-
???????
-
AbstractCharacterFilterReader
Constructs a new reader.- ??:
reader
- the reader to filter
-
AbstractCharacterFilterReader
Constructs a new reader.- ??:
reader
- the reader to filter.skip
- Skip test.- ???????:
- 2.9.0
-
-
??????
-
filter
Returns true if the given character should be filtered out, false to keep the character.- ??:
ch
- the character to test.- ??:
- true if the given character should be filtered out, false to keep the character.
-
read
- ??:
read
???FilterReader
- ??:
IOException
-
read
- ??:
read
???FilterReader
- ??:
IOException
-