Example usage for Java java.io StringReader fields, constructors, methods, implement or subclass
The text is from its open source code.
int | mark |
StringReader(String s) Creates a new string reader. |
void | close() Closes the stream and releases any system resources associated with it. |
boolean | markSupported() Tells whether this stream supports the mark() operation, which it does. |
int | read() Reads a single character. |
int | read(java.nio.CharBuffer target) Attempts to read characters into the specified character buffer. |
int | read(char cbuf[], int off, int len) Reads characters into a portion of an array. |
boolean | ready() Tells whether this stream is ready to be read. |
void | reset() Resets the stream to the most recent mark, or to the beginning of the string if it has never been marked. |
long | skip(long ns) Skips the specified number of characters in the stream. |
String | toString() Returns a string representation of the object. |