org.gillius.realdb.io
Interface RecordReader

All Known Subinterfaces:
RecordSerializer
All Known Implementing Classes:
GenericRecordSerializer

public interface RecordReader

RecordReader as an object that can read Records from a DataInput.

Author:
Jason Winnebeck

Method Summary
 int getWrittenSize()
          Returns the number of bytes of the written record that will be read when calling a read method.
 Record readRecord(java.io.DataInput in)
          Read back the record as it was written.
 

Method Detail

getWrittenSize

int getWrittenSize()
Returns the number of bytes of the written record that will be read when calling a read method.


readRecord

Record readRecord(java.io.DataInput in)
                  throws java.io.IOException
Read back the record as it was written.

Throws:
java.io.IOException


Copyright © 2008-2010 Jason Winnebeck. All Rights Reserved.