public class UnsyncStringReader extends Reader
See https://issues.liferay.com/browse/LPS-6648.
| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
protected int |
markIndex |
protected String |
string |
protected int |
stringLength |
| Constructor and Description |
|---|
UnsyncStringReader(String string) |
protected int index
protected int markIndex
protected String string
protected int stringLength
public UnsyncStringReader(String string)
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 ReaderIOException