com.liferay.portal.kernel.io.unsync
Class UnsyncStringReader
java.lang.Object
java.io.Reader
com.liferay.portal.kernel.io.unsync.UnsyncStringReader
- All Implemented Interfaces:
- Closeable, Readable
- Direct Known Subclasses:
- XMLSafeReader
public class UnsyncStringReader
- extends Reader
See http://issues.liferay.com/browse/LPS-6648.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
index
protected int index
stringLength
protected int stringLength
markIndex
protected int markIndex
string
protected String string
UnsyncStringReader
public UnsyncStringReader(String string)
close
public void close()
- Specified by:
close in interface Closeable- 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[] charArray)
throws IOException
- Overrides:
read in class Reader
- Throws:
IOException
read
public int read(char[] charArray,
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)
- Overrides:
skip in class Reader