org.I0Itec.zkclient.serialize
Class SerializableSerializer

java.lang.Object
  extended by org.I0Itec.zkclient.serialize.SerializableSerializer
All Implemented Interfaces:
ZkSerializer

public class SerializableSerializer
extends java.lang.Object
implements ZkSerializer


Constructor Summary
SerializableSerializer()
           
 
Method Summary
 java.lang.Object deserialize(byte[] bytes)
           
 byte[] serialize(java.lang.Object serializable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableSerializer

public SerializableSerializer()
Method Detail

deserialize

public java.lang.Object deserialize(byte[] bytes)
                             throws ZkMarshallingError
Specified by:
deserialize in interface ZkSerializer
Throws:
ZkMarshallingError

serialize

public byte[] serialize(java.lang.Object serializable)
                 throws ZkMarshallingError
Specified by:
serialize in interface ZkSerializer
Throws:
ZkMarshallingError