public class PushbackInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buf
buf
|
protected int |
pos
pos
|
in| Constructor and Description |
|---|
PushbackInputStream(InputStream inputstream)
PushbackInputStream
|
PushbackInputStream(InputStream inputstream,
int i) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] abyte0,
int i,
int j)
Read byte data until there is no more available.
|
void |
unread(byte[] abyte0) |
void |
unread(byte[] abyte0,
int i,
int j) |
void |
unread(int i) |
public PushbackInputStream(InputStream inputstream)
inputstream - ?public PushbackInputStream(InputStream inputstream, int i)
inputstream - ?i - ?public int available()
throws IOException
available in class FilterInputStreamIOException - ?public boolean markSupported()
markSupported in class FilterInputStreampublic int read()
throws IOException
read in class FilterInputStreamIOException - ?public int read(byte[] abyte0,
int i,
int j)
throws IOException
InputStreamread in class FilterInputStreamabyte0 - ?i - ?j - ?IOException - ?public void unread(int i)
throws IOException
i - ?IOException - ?public void unread(byte[] abyte0)
throws IOException
abyte0 - ?IOException - ?public void unread(byte[] abyte0,
int i,
int j)
throws IOException
abyte0 - ?i - ?j - ?IOException - ?