net.sf.hermesftp.streams
Interface RecordReadSupport

All Known Implementing Classes:
BlockModeInputStream, RafInputStream, RecordInputStream, TextInputStream

public interface RecordReadSupport

Implemented by streams that support reading records.

Author:
Lars Behnke

Method Summary
 byte[] readRecord()
          Reads a whole record without delimiters.
 

Method Detail

readRecord

byte[] readRecord()
                  throws java.io.IOException
Reads a whole record without delimiters.

Returns:
The record.
Throws:
java.io.IOException - Throws if reading fails.


Copyright © 2005-2007 Lars Behnke. All Rights Reserved.