Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thoughtworks.xstream.tools.benchmark
Interface Product

All Known Implementing Classes:
  JavaObjectSerialization, XStreamBinary, XStreamCompact, XStreamDom, XStreamStax, XStreamXpp

    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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 XStream. All Rights Reserved.