public interface DocumentReader
Modifier and Type | Method and Description |
---|---|
Document |
readDocument()
Reads bundles into document.
|
void |
readInDocument(Document document)
Reads bundles into Document.
|
java.util.Optional<Root> |
readTree(java.io.BufferedReader bufferedReader,
Document document)
Reads tree into document with given reader.
|
java.util.Optional<Root> |
readTree(Document document)
Reads tree into document.
|
Document readDocument() throws UdapiIOException
UdapiIOException
- If any error occursvoid readInDocument(Document document) throws UdapiIOException
document
- document to read intoUdapiIOException
- If any error occursjava.util.Optional<Root> readTree(Document document) throws UdapiIOException
document
- document to read intoUdapiIOException
- If any error occursjava.util.Optional<Root> readTree(java.io.BufferedReader bufferedReader, Document document) throws UdapiIOException
bufferedReader
- reader encapsulating input to processdocument
- document to read intoUdapiIOException
- If any error occurs