public class UnsyncCharArrayReader
extends Reader
Modifier and Type | Field and Description |
---|---|
protected char[] |
buffer |
protected int |
capacity |
protected int |
index |
protected int |
markIndex |
Constructor and Description |
---|
UnsyncCharArrayReader(char[] chars) |
UnsyncCharArrayReader(char[] chars,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] chars) |
int |
read(char[] chars,
int offset,
int length) |
int |
read(CharBuffer charBuffer) |
boolean |
ready() |
void |
reset() |
long |
skip(long skip) |
protected char[] buffer
protected int capacity
protected int index
protected int markIndex
public UnsyncCharArrayReader(char[] chars)
public UnsyncCharArrayReader(char[] chars, int offset, int length)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
public void mark(int readAheadLimit) throws IOException
mark
in class Reader
IOException
public boolean markSupported()
markSupported
in class Reader
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] chars) throws IOException
read
in class Reader
IOException
public int read(char[] chars, int offset, int length) throws IOException
read
in class Reader
IOException
public int read(CharBuffer charBuffer) throws IOException
read
in interface Readable
read
in class Reader
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 skip) throws IOException
skip
in class Reader
IOException