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 Readeri - ?IOException - ?public boolean markSupported()
markSupported in class Readerpublic int read()
throws IOException
read in class ReaderIOException - ?public int read(char[] ac,
int i,
int j)
throws IOException
read in class Readerac - ?i - ?j - ?IOException - ?public boolean ready()
throws IOException
ready in class ReaderIOException - ?public void reset()
throws IOException
reset in class ReaderIOException - ?public long skip(long l)
throws IOException
skip in class Readerl - ?IOException - ?