org.apache.kahadb.util
Class ObjectMarshaller
java.lang.Object
org.apache.kahadb.util.VariableMarshaller<Object>
org.apache.kahadb.util.ObjectMarshaller
- All Implemented Interfaces:
- Marshaller<Object>
public class ObjectMarshaller
- extends VariableMarshaller<Object>
Implementation of a Marshaller for Objects
- Version:
- $Revision: 816280 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectMarshaller
public ObjectMarshaller()
writePayload
public void writePayload(Object object,
DataOutput dataOut)
throws IOException
- Description copied from interface:
Marshaller
- Write the payload of the object to the DataOutput stream.
- Throws:
IOException
readPayload
public Object readPayload(DataInput dataIn)
throws IOException
- Description copied from interface:
Marshaller
- Read the payload of the object from the DataInput stream.
- Returns:
- unmarshalled object
- Throws:
IOException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.