Java.io.StringBufferInputStream Class
Introduction
The Java.io.StringBufferInputStream class allows an application to create an input stream in which the bytes read are supplied by the contents of a string. Applications can also read bytes from a byte array by using a ByteArrayInputStream.Only the low eight bits of each character in the string are used by this class.
This class has been deprecated by Oracle and should not be used any more.
Class declaration
Following is the declaration for Java.io.StringBufferInputStream class:
public class StringBufferInputStream extends InputStream
Field
Following are the fields for Java.io.StringBufferInputStream class:
protected String buffer -- This is the string from which bytes are read..
protected int count -- This is the number of valid characters in the input stream buffer.
protected int pos -- This is the index of the next character to read from the input stream buffer.
Class constructors
Class methods
Methods inherited
This class inherits methods from the following classes:
Java.io.InputStreams
Java.io.Object