StringBufferInputStream (Java SE 25 & JDK 25)
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields
Deprecated.
The string from which bytes are read.
protected intDeprecated.
The number of valid characters in the input stream buffer.
protected intDeprecated.
The index of the next character to read from the input stream buffer.
-
Constructor Summary
Constructors
Deprecated.
Creates a string input stream to read data from the specified string.
-
Method Summary
intDeprecated.
Returns the number of bytes that can be read from the input stream without blocking.
intread()Deprecated.
Reads the next byte of data from this input stream.
intread(byte[] b, int off, int len) Deprecated.
Reads up to
lenbytes of data from this input stream into an array of bytes.voidreset()Deprecated.
Resets the input stream to begin reading from the first character of this input stream's underlying buffer.
longskip(long n) Deprecated.
Skips
nbytes of input from this input stream.
-
Field Details
-
buffer
-
pos
-
count
-
-
Constructor Details
-
StringBufferInputStream
-
-
Method Details
-
read
-
read
-
skip
-
available
-
reset
-