public class UnsyncStringReader
extends java.io.Reader
See https://issues.liferay.com/browse/LPS-6648.
Constructor and Description |
---|
UnsyncStringReader(java.lang.String string) |
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) |
boolean |
ready() |
void |
reset() |
long |
skip(long skip) |
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
public void mark(int readAheadLimit) throws java.io.IOException
mark
in class java.io.Reader
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.Reader
public int read() throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] chars) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] chars, int offset, int length) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public boolean ready() throws java.io.IOException
ready
in class java.io.Reader
java.io.IOException
public void reset() throws java.io.IOException
reset
in class java.io.Reader
java.io.IOException
public long skip(long skip) throws java.io.IOException
skip
in class java.io.Reader
java.io.IOException