public class StringBufferInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
protected String |
buffer
buffer
|
protected int |
count
count
|
protected int |
pos
pos
|
Constructor and Description |
---|
StringBufferInputStream(String s)
StringBufferInputStream
|
Modifier and Type | Method and Description |
---|---|
int |
available()
available
|
int |
read() |
int |
read(byte[] abyte0,
int i,
int j)
Read byte data until there is no more available.
|
void |
reset() |
long |
skip(long l) |
close, mark, markSupported, read
protected String buffer
protected int pos
protected int count
public StringBufferInputStream(String s)
s
- ?public int available()
available
in class InputStream
public int read()
read
in class InputStream
public int read(byte[] abyte0, int i, int j)
InputStream
read
in class InputStream
abyte0
- ?i
- ?j
- ?public void reset()
reset
in class InputStream
public long skip(long l)
skip
in class InputStream
l
- ?