Package org.jppf.serialization
Class JavaTimeSerializationHandler
java.lang.Object
org.jppf.serialization.AbstractSerializationHandler
org.jppf.serialization.JavaTimeSerializationHandler
- All Implemented Interfaces:
SerializationHandler
A specfic serialization handler for
Vector.- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadDObject(org.jppf.serialization.Deserializer deserializer, org.jppf.serialization.ClassDescriptor cd) Deserialize an object of the type processed by this serialization handler.voidwriteObject(Object obj, org.jppf.serialization.Serializer serializer, org.jppf.serialization.ClassDescriptor cd) Serialize an object of the type processed by this serialization handler.Methods inherited from class org.jppf.serialization.AbstractSerializationHandler
copyFieldsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.serialization.SerializationHandler
newInstance
-
Constructor Details
-
JavaTimeSerializationHandler
public JavaTimeSerializationHandler()
-
-
Method Details
-
writeObject
public void writeObject(Object obj, org.jppf.serialization.Serializer serializer, org.jppf.serialization.ClassDescriptor cd) throws Exception Description copied from interface:SerializationHandlerSerialize an object of the type processed by this serialization handler.- Parameters:
obj- the object for which to write the fields.serializer- the serializer to use.cd- the class descriptor.- Throws:
Exception- if any error occurs.
-
readDObject
public Object readDObject(org.jppf.serialization.Deserializer deserializer, org.jppf.serialization.ClassDescriptor cd) throws Exception Description copied from interface:SerializationHandlerDeserialize an object of the type processed by this serialization handler.- Parameters:
deserializer- the deserializer to use.cd- the class descriptor.- Returns:
- the deserialized object.
- Throws:
Exception- if any error occurs.
-