StringBufferInputStream Members

StringBufferInputStream Members

Class Overview | This Package | All Packages

Fields
Name Description
buffer The string from which bytes are read.
count The number of valid characters in the input stream buffer.
pos The index of the next character to read from the input stream buffer.

Constructors
Name Description
StringBufferInputStream(String) Creates a string input stream to read data from the specified string.

Methods
Name Description
available() Returns the number of bytes that can be read from the input stream without blocking.
read() Reads the next byte of data from this input stream.
read(byte[], int, int) Reads up to len bytes of data from this input stream into an array of bytes.
reset() Resets the input stream to begin reading from the first character of this input stream's underlying buffer.
skip(long) Skips n bytes of input from this input stream.