public class BAAInputStream extends InputStream
| Constructor and Description |
|---|
BAAInputStream(ArrayList data,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
writeTo(OutputStream os)
Write all of the buffers to the output stream
|
close, skippublic BAAInputStream(ArrayList data, int size)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic void writeTo(OutputStream os) throws IOException
os - IOExceptionCopyright © The Apache Software Foundation. All Rights Reserved.