public interface NonWordDataHandler
| Modifier and Type | Method and Description |
|---|---|
int |
commitUpdate()
Commits the data if it has been read into an intermediate repository.
|
byte[] |
getData()
Returns the intermediate raw non-word data.
|
int |
getWordCount()
Returns the word count of the data.
|
void |
prepareData(int reference,
int count)
Prepares the raw data, putting it together from a backing data store.
|
void |
readData(DataInput in,
int reference,
int count)
Reads the non-word raw data based on an arbitrary implemented structure.
|
byte[] getData()
void readData(DataInput in, int reference, int count) throws IOException, EOFException
in - the DataInput to read from.reference - to specify the offset as int.count - to sepcify the amount of bytes as int.IOException - if I/O fails.EOFException - if the stream ends before all data is read.int getWordCount()
int commitUpdate()
void prepareData(int reference,
int count)
reference - to specify the offset as int.count - to sepcify the amount of bytes as int.Copyright © 2017. All rights reserved.