org.apache.camel.impl
Class SerializationDataFormat
java.lang.Object
org.apache.camel.impl.SerializationDataFormat
- All Implemented Interfaces:
- DataFormat
public class SerializationDataFormat
- extends Object
- implements DataFormat
The data format
using Java Serialiation.
- Version:
- $Revision: 36321 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializationDataFormat
public SerializationDataFormat()
marshal
public void marshal(Exchange exchange,
Object graph,
OutputStream stream)
throws IOException
- Description copied from interface:
DataFormat
- Marshals the object to the given Stream.
- Specified by:
marshal
in interface DataFormat
- Throws:
IOException
unmarshal
public Object unmarshal(Exchange exchange,
InputStream stream)
throws IOException,
ClassNotFoundException
- Description copied from interface:
DataFormat
- Unmarshals the given stream into an object.
- Specified by:
unmarshal
in interface DataFormat
- Throws:
IOException
ClassNotFoundException
Copyright © 2008 IONA Open Source Community. All Rights Reserved.