public interface BlockReaderAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Called when the file is fully read.
|
void |
handleBlock(FileBlock
Called with the data in the block.
|
boolean |
skipBlock(FileBlockPosition
Does the reader understand this block? Does it want the data in it? A reference contains the metadata about a block and can saved --- or stored ---- for future random access.
|
boolean skipBlock(FileBlockPositionmessage)
void handleBlock(FileBlockmessage) throws IOException
IOException
void complete()
throws IOException
IOException -