com.liferay.portal.kernel.io.unsync
Class UnsyncCharArrayReader
java.lang.Object
java.io.Reader
com.liferay.portal.kernel.io.unsync.UnsyncCharArrayReader
- All Implemented Interfaces:
- Closeable, AutoCloseable, Readable
public class UnsyncCharArrayReader
- extends Reader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected char[] buffer
capacity
protected int capacity
index
protected int index
markIndex
protected int markIndex
UnsyncCharArrayReader
public UnsyncCharArrayReader(char[] chars)
UnsyncCharArrayReader
public UnsyncCharArrayReader(char[] chars,
int offset,
int length)
close
public void close()
- Specified by:
close in interface Closeable- Specified by:
close in interface AutoCloseable- Specified by:
close in class Reader
mark
public void mark(int readAheadLimit)
throws IOException
- Overrides:
mark in class Reader
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported in class Reader
read
public int read()
throws IOException
- Overrides:
read in class Reader
- Throws:
IOException
read
public int read(char[] chars)
throws IOException
- Overrides:
read in class Reader
- Throws:
IOException
read
public int read(char[] chars,
int offset,
int length)
throws IOException
- Specified by:
read in class Reader
- Throws:
IOException
read
public int read(CharBuffer charBuffer)
throws IOException
- Specified by:
read in interface Readable- Overrides:
read in class Reader
- Throws:
IOException
ready
public boolean ready()
throws IOException
- Overrides:
ready in class Reader
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset in class Reader
- Throws:
IOException
skip
public long skip(long skip)
throws IOException
- Overrides:
skip in class Reader
- Throws:
IOException