|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - a DataValue implementation being read
or writtenpublic interface DataCellSerializer<T extends DataCell>
Interface for classes that can read or write specific
DataCell
implementations. Using DataCellSerializer implementations are
normally considerably faster than ordinary Java serialization. Objects of
this class are returned by a static method in a
DataCell implementation. For further details see
the DataCell description and the manual on how to define new
types.
| Method Summary | |
|---|---|
T |
deserialize(DataCellDataInput input)
Loads a new instance of DataCell of type
T from the input stream, which represents a
former serialized DataCell content. |
void |
serialize(T cell,
DataCellDataOutput output)
Saves the cell to the output stream. |
| Method Detail |
|---|
void serialize(T cell,
DataCellDataOutput output)
throws IOException
cell to the output stream.
cell - the DataCell to saveoutput - the place to write to
IOException - if writing fails
T deserialize(DataCellDataInput input)
throws IOException
DataCell of type
T from the input stream, which represents a
former serialized DataCell content.
input - the source to load from, never null
DataValue instance of type
T representing a former serialized
DataCell
IOException - if loading fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||