ReusableStringReader
Functions
Reads a single character.
Reads up to len characters into cbuf starting at offset off. Returns the number of characters read, or -1 if the end of the stream is reached.
Reads characters into a CharBuffer. This default implementation reads into an array and then puts the characters into the buffer.
Resets the stream. If the stream has been marked, then attempt to reposition it at the mark. If the stream has not been marked, then attempt to reset it in some way appropriate to the particular stream, for example by repositioning it to its starting point. Not all character-input streams support the reset() operation, and some support reset() without supporting mark().
Reads all characters from this Reader and writes them to out. Returns the number of characters transferred.