public class BlockStream extends InputStream
| Constructor and Description |
|---|
BlockStream(InputStream in,
int theBlockSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
void |
reset() |
long |
skip(long n) |
mark, markSupported, read, readpublic BlockStream(InputStream in, int theBlockSize) throws IOException
in - Input streamtheBlockSize - size of the block to hold in memoryIOException - when the block could not be filledpublic int read()
throws IOException
read in class InputStreamIOExceptionInputStream.read()public long skip(long n)
throws IOException
skip in class InputStreamIOExceptionInputStream.skip(long)public int available()
throws IOException
available in class InputStreamIOExceptionInputStream.available()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionInputStream.close()public void reset()
throws IOException
reset in class InputStreamIOExceptionInputStream.reset()Copyright © 2016 SAPERION AG. All rights reserved.