com.timeindexing.io
Interface IndexHeaderReader

All Known Subinterfaces:
HeaderFileInteractor
All Known Implementing Classes:
IndexDecoder, IndexHeaderIO

public interface IndexHeaderReader

An index header reader This is the generic interface to an index reader.


Method Summary
 long close()
          Close an index header reader.
 boolean isOpen()
          Is the index header open
 boolean open(java.lang.String filename)
          Open an index header
 long read()
          Read an index header from the header stream.
 

Method Detail

open

public boolean open(java.lang.String filename)
             throws java.io.IOException
Open an index header

Throws:
java.io.IOException

isOpen

public boolean isOpen()
Is the index header open


read

public long read()
          throws java.io.IOException
Read an index header from the header stream.

Throws:
java.io.IOException

close

public long close()
           throws java.io.IOException
Close an index header reader.

Throws:
java.io.IOException