StringReader
Functions
Link copied to clipboard
Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), or reset() invocations will throw an IOException. Closing a previously closed stream has no effect. This method will block while there is another thread blocking on the reader.
Link copied to clipboard
Tells whether this stream supports the mark() operation, which it does.
Link copied to clipboard
Reads characters into a CharBuffer. This default implementation reads into an array and then puts the characters into the buffer.
Reads a single character.
Reads characters into a portion of an array.
Link copied to clipboard
Reads all characters from this Reader and writes them to out. Returns the number of characters transferred.