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) |
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()
public void mark(int readAheadLimit)
throws IOException
mark in class ReaderIOExceptionpublic boolean markSupported()
markSupported in class Readerpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] chars)
throws IOException
read in class ReaderIOExceptionpublic int read(char[] chars,
int offset,
int length)
throws IOException
read in class ReaderIOExceptionpublic int read(CharBuffer charBuffer) throws IOException
read in interface Readableread in class ReaderIOExceptionpublic boolean ready()
throws IOException
ready in class ReaderIOExceptionpublic void reset()
throws IOException
reset in class ReaderIOExceptionpublic long skip(long skip)
throws IOException
skip in class ReaderIOException