public class BlockDataInputStream extends ClonableDataStream
Constructor and Description |
---|
BlockDataInputStream(DataBlockImpl startBlock,
int offset,
long dataLength,
DataBlockFactory dataBlockFactory) |
Modifier and Type | Method and Description |
---|---|
BlockDataInputStream |
clone()
This creates a cloned data stream that allows multiple threads to read
the resource in question.
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int bufferOffset,
int readLength) |
void |
reset() |
available, close, mark, markSupported, skip
public BlockDataInputStream(DataBlockImpl startBlock, int offset, long dataLength, DataBlockFactory dataBlockFactory)
public BlockDataInputStream clone() throws CloneNotSupportedException
ClonableDataStream
clone
in class ClonableDataStream
CloneNotSupportedException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int bufferOffset, int readLength) throws IOException
read
in class InputStream
IOException
public void reset() throws IOException
reset
in class InputStream
IOException
Copyright © 2015. All rights reserved.