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, skippublic AvailableBufferedInputStream(InputStream input)
public AvailableBufferedInputStream(InputStream input, int bufferSize)
public int getBufferSize()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic int peek()
throws IOException
IOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void unread(int data)
throws IOException
IOException