com.thoughtworks.xstream.tools.benchmark.products
Class JavaObjectSerialization
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization
- All Implemented Interfaces:
- Product
public class JavaObjectSerialization
- extends Object
- implements Product
Standard Java Object Serialization product.
- Author:
- Joe Walnes
- See Also:
Harness
,
Product
,
ObjectOutputStream
,
ObjectInputStream
JavaObjectSerialization
public JavaObjectSerialization()
serialize
public void serialize(Object object,
OutputStream output)
throws Exception
- Description copied from interface:
Product
- Serialize an object to a stream.
- Specified by:
serialize
in interface Product
- Throws:
Exception
deserialize
public Object deserialize(InputStream input)
throws Exception
- Description copied from interface:
Product
- Deserialize an object from a stream.
- Specified by:
deserialize
in interface Product
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2012 XStream. All Rights Reserved.