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, skip
public CharFilterReader(Reader in, CharFilter<?> charFilter)
CharFilterReader
public int read() throws IOException
read
in class FilterReader
IOException
public int read(char[] b, int off, int len) throws IOException
read
in class FilterReader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterReader
IOException
Copyright © 2018 Arno Unkrig. All rights reserved.