Class XStreamCompact

  • All Implemented Interfaces:
    Product

    public class XStreamCompact
    extends java.lang.Object
    implements Product
    Deprecated.
    As of 1.4.9 use JMH instead
    Uses XStream with a compact XML output format.
    See Also:
    Harness, Product, XStream, CompactWriter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private XStream xstream
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      XStreamCompact()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object deserialize​(java.io.InputStream input)
      Deprecated.
      Deserialize an object from a stream.
      void serialize​(java.lang.Object object, java.io.OutputStream output)
      Deprecated.
      Serialize an object to a stream.
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • xstream

        private final XStream xstream
        Deprecated.
    • Constructor Detail

      • XStreamCompact

        public XStreamCompact()
        Deprecated.
    • Method Detail

      • serialize

        public void serialize​(java.lang.Object object,
                              java.io.OutputStream output)
                       throws java.lang.Exception
        Deprecated.
        Description copied from interface: Product
        Serialize an object to a stream.
        Specified by:
        serialize in interface Product
        Throws:
        java.lang.Exception
      • deserialize

        public java.lang.Object deserialize​(java.io.InputStream input)
                                     throws java.lang.Exception
        Deprecated.
        Description copied from interface: Product
        Deserialize an object from a stream.
        Specified by:
        deserialize in interface Product
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object