rabbit.io
Interface Storable

All Known Implementing Classes:
GeneralHeader, Header, HttpHeader, MultipartHeader

public interface Storable

An object that can be read to a DataOutput and read from a DataInput.

Author:
Robert Olofsson

Method Summary
 void read(DataInput in)
          Fill in this object with data from the given input.
 void write(DataOutput out)
          Write this object to the given output.
 

Method Detail

write

void write(DataOutput out)
           throws IOException
Write this object to the given output.

Throws:
IOException

read

void read(DataInput in)
          throws IOException
Fill in this object with data from the given input.

Throws:
IOException