org.eclipse.rdf4j.http.protocol.transaction

## Class TransactionReader

- java.lang.Object
- - org.eclipse.rdf4j.http.protocol.transaction.TransactionReader

-     public class TransactionReader
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransactionReader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<TransactionOperation>` | `parse(InputStream in)` parse the transaction from the serialization
    `Collection<TransactionOperation>` | `parse(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 Collection<TransactionOperation> parse(InputStream in)
                                                 throws SAXException,
                                                        IOException

      parse the transaction from the serialization
      Throws:
        `SAXException` - If the SimpleSAXParser was unable to create an XMLReader or if the XML is faulty.
        `IOException` - If IO problems during parsing.

    - #### parse

          public Collection<TransactionOperation> parse(Reader in)
                                                 throws SAXException,
                                                        IOException

      parse the transaction from the serialization
      Throws:
        `SAXException` - If the SimpleSAXParser was unable to create an XMLReader or if the XML is faulty.
        `IOException` - If IO problems during parsing.

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.