public class BlockInputStream
extends org.archive.io.SeekInputStream
Constructor and Description |
---|
BlockInputStream(BlockFileSystem bfs,
int block)
Constructor.
|
public BlockInputStream(BlockFileSystem bfs, int block) throws IOException
bfs
- The block file system that owns this streamblock
- The starting block number.IOException
public long skip(long v) throws IOException
skip
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int ofs, int len) throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public long position()
public void position(long v) throws IOException
IOException
Copyright © 2003-2014 Internet Archive. All Rights Reserved.