public class CharArrayReader extends Reader
Modifier and Type | Field and Description |
---|---|
protected char[] |
buf
buf
|
protected int |
count
count
|
protected int |
markedPos
markedPos
|
protected int |
pos
pos
|
Constructor and Description |
---|
CharArrayReader(char[] ac)
CharArrayReader
|
CharArrayReader(char[] ac,
int i,
int j) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
mark(int i) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] ac,
int i,
int j) |
boolean |
ready() |
void |
reset() |
long |
skip(long l) |
protected char[] buf
protected int pos
protected int markedPos
protected int count
public CharArrayReader(char[] ac)
ac
- ?public CharArrayReader(char[] ac, int i, int j)
ac
- ?i
- ?j
- ?public void mark(int i) throws IOException
mark
in class Reader
i
- ?IOException
- ?public boolean markSupported()
markSupported
in class Reader
public int read() throws IOException
read
in class Reader
IOException
- ?public int read(char[] ac, int i, int j) throws IOException
read
in class Reader
ac
- ?i
- ?j
- ?IOException
- ?public boolean ready() throws IOException
ready
in class Reader
IOException
- ?public void reset() throws IOException
reset
in class Reader
IOException
- ?public long skip(long l) throws IOException
skip
in class Reader
l
- ?IOException
- ?