public abstract class AbstractBufferedInputStream extends InputStream
InputStream| Constructor and Description |
|---|
AbstractBufferedInputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
protected abstract byte[] |
getNextBuffer()
Retrieves the next set of data from the source.
|
protected abstract boolean |
isEOF()
Returns true if there is no more source data.
|
int |
read() |
mark, markSupported, read, read, reset, skipprotected abstract boolean isEOF()
protected abstract byte[] getNextBuffer()
throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2018 Calrissian. All rights reserved.