public abstract class AbstractReaderFilter extends FilterReader
Descendants shall override isValidChar(char) only.
in| Constructor and Description |
|---|
AbstractReaderFilter(Reader in)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isValidChar(char c)
Tells the filter reader whether the given character is valid or not.
|
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
close, mark, markSupported, ready, reset, skippublic AbstractReaderFilter(Reader in)
public int read()
throws IOException
read in class FilterReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class FilterReaderIOExceptionpublic abstract boolean isValidChar(char c)
c - the character to be validatedtrue when the character can be deliveredCopyright © 2014. All rights reserved.