org.tiling.s3map
Interface Serializer


public interface Serializer

Defines how objects are serialized to byte streams, and vice versa.


Method Summary
 Object deserialize(byte[] data)
           
 byte[] serialize(Object obj)
           
 

Method Detail

serialize

byte[] serialize(Object obj)
                 throws IOException
Throws:
IOException

deserialize

Object deserialize(byte[] data)
                   throws IOException,
                          ClassNotFoundException
Throws:
IOException
ClassNotFoundException