public class AvailableBufferedInputStream extends InputStream
Constructor and Description |
---|
AvailableBufferedInputStream(InputStream input) |
AvailableBufferedInputStream(InputStream input,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
getBufferSize() |
int |
peek() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
String |
toString() |
void |
unread(int data) |
close, mark, markSupported, read, reset, skip
public AvailableBufferedInputStream(InputStream input)
public AvailableBufferedInputStream(InputStream input, int bufferSize)
public int getBufferSize()
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer, int offset, int length) throws IOException
read
in class InputStream
IOException
public int peek() throws IOException
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void unread(int data) throws IOException
IOException