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, skippublic BlockDataInputStream(DataBlockImpl startBlock, int offset, long dataLength, DataBlockFactory dataBlockFactory)
public BlockDataInputStream clone() throws CloneNotSupportedException
ClonableDataStreamclone in class ClonableDataStreamCloneNotSupportedExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int bufferOffset,
int readLength)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionCopyright © 2015. All rights reserved.