Package crosby.binary.file
Class BlockInputStream
- java.lang.Object
-
- crosby.binary.file.BlockInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class BlockInputStream extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description BlockInputStream(InputStream input, BlockReaderAdapter adaptor)
-
-
-
Constructor Detail
-
BlockInputStream
public BlockInputStream(InputStream input, BlockReaderAdapter adaptor)
-
-
Method Detail
-
process
public void process() throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-