public class CharFilterReader extends FilterReader
FilterReader that transforms the char stream through a CharFilter. Any IOException
and RuntimeException that CharFilter.run(java.io.Reader, java.io.Writer) throws is caught and rethrown by the read()
methods of this object.in| Constructor and Description |
|---|
CharFilterReader(Reader in,
CharFilter<?> charFilter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] b,
int off,
int len) |
mark, markSupported, ready, reset, skippublic CharFilterReader(Reader in, CharFilter<?> charFilter)
CharFilterReaderpublic int read()
throws IOException
read in class FilterReaderIOExceptionpublic int read(char[] b,
int off,
int len)
throws IOException
read in class FilterReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterReaderIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.