XStream Benchmark 1.4.1-redhat-2

com.thoughtworks.xstream.tools.benchmark
Interface Product

All Known Implementing Classes:
JavaObjectSerialization, XStreamBEAStax, XStreamBinary, XStreamCompact, XStreamDom, XStreamDom4J, XStreamDriver, XStreamJDom, XStreamKXml2, XStreamKXml2DOM, XStreamSjsxp, XStreamStax, XStreamWoodstox, XStreamXom, XStreamXpp, XStreamXpp3, XStreamXpp3DOM

public interface Product

Provides an abstraction above the product used to perform the serialization/deserialization in the benchmarks.

Author:
Joe Walnes
See Also:
Harness

Method Summary
 Object deserialize(InputStream input)
          Deserialize an object from a stream.
 void serialize(Object object, OutputStream output)
          Serialize an object to a stream.
 

Method Detail

serialize

void serialize(Object object,
               OutputStream output)
               throws Exception
Serialize an object to a stream.

Throws:
Exception

deserialize

Object deserialize(InputStream input)
                   throws Exception
Deserialize an object from a stream.

Throws:
Exception

XStream Benchmark 1.4.1-redhat-2

Copyright © 2004-2012 XStream. All Rights Reserved.