public class CharArrayReader extends Reader
Modifier and Type | Field and Description |
---|---|
protected char[] |
buf |
protected int |
count |
protected int |
markedPos |
protected int |
pos |
Constructor and Description |
---|
CharArrayReader(char[] chars) |
CharArrayReader(char[] chars,
int off,
int len) |
protected char[] buf
protected int count
protected int markedPos
protected int pos
public CharArrayReader(char[] chars)
public CharArrayReader(char[] chars, int off, int len)
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] chars, int off, int len) throws IOException
Reader
read
in class Reader
IOException
public long skip(long n) throws IOException
skip
in class Reader
IOException
public boolean ready() throws IOException
ready
in class Reader
IOException
public boolean markSupported()
markSupported
in class Reader
public void mark(int readAheadLimit) throws IOException
mark
in class Reader
IOException
public void reset() throws IOException
reset
in class Reader
IOException