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()
Repositions this stream to the position at the time the mark method was last called.
|
long |
skip(long l) |
close, mark, markSupported, readprotected String buffer
protected int pos
protected int count
public StringBufferInputStream(String s)
s - ?public int available()
available in class InputStreampublic int read()
read in class InputStreampublic int read(byte[] abyte0,
int i,
int j)
InputStreamread in class InputStreamabyte0 - ?i - ?j - ?public void reset()
InputStreamreset in class InputStreampublic long skip(long l)
skip in class InputStreaml - ?