com.timeindexing.data
Interface DataReader


public interface DataReader

A data reader gets data from the application. This is the generic interface to an data reader.


Method Summary
 boolean close()
          Close an data reader.
 DataItem read()
          Read an item of data from the input
 boolean ready()
          Is the reader ready to present more data.
 

Method Detail

read

public DataItem read()
              throws java.io.IOException
Read an item of data from the input

Throws:
java.io.IOException

close

public boolean close()
              throws java.io.IOException
Close an data reader.

Throws:
java.io.IOException

ready

public boolean ready()
              throws java.io.IOException
Is the reader ready to present more data.

Throws:
java.io.IOException