Class TransactionReader


  • public class TransactionReader
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<TransactionOperation> parse​(java.io.InputStream in)
      parse the transaction from the serialization
      java.util.Collection<TransactionOperation> parse​(java.io.Reader in)
      parse the transaction from the serialization
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransactionReader

        public TransactionReader()
    • Method Detail

      • parse

        public java.util.Collection<TransactionOperation> parse​(java.io.InputStream in)
                                                         throws org.xml.sax.SAXException,
                                                                java.io.IOException
        parse the transaction from the serialization
        Throws:
        org.xml.sax.SAXException - If the SimpleSAXParser was unable to create an XMLReader or if the XML is faulty.
        java.io.IOException - If IO problems during parsing.
      • parse

        public java.util.Collection<TransactionOperation> parse​(java.io.Reader in)
                                                         throws org.xml.sax.SAXException,
                                                                java.io.IOException
        parse the transaction from the serialization
        Throws:
        org.xml.sax.SAXException - If the SimpleSAXParser was unable to create an XMLReader or if the XML is faulty.
        java.io.IOException - If IO problems during parsing.