uk.org.blankaspect.nlf
Interface Chunk.Reader

Enclosing class:
Chunk

public static interface Chunk.Reader

This interface specifies the methods that must be implemented by a class that reads chunk data from a data input. The data input is likely to be an instance of java.io.RandomAccessFile.

Since:
1.0
See Also:
Chunk.getReader(), Chunk.setReader(Chunk.Reader)

Method Summary
 java.io.DataInput getDataInput()
          Returns the data input from which the chunk data are to be read.
 void reset()
          Resets the chunk reader before any reading is performed.
 

Method Detail

reset

void reset()
           throws java.io.IOException
Resets the chunk reader before any reading is performed.

Throws:
java.io.IOException - if an I/O error occurs.
Since:
1.0

getDataInput

java.io.DataInput getDataInput()
Returns the data input from which the chunk data are to be read. The input is likely to be an instance of java.io.RandomAccessFile.

Returns:
the data input from which the chunk data are to be read.
Since:
1.0