Class ProvSerialiser
java.lang.Object
org.openprovenance.prov.dot.ProvSerialiser
- All Implemented Interfaces:
ProvSerialiser
-
Constructor Summary
ConstructorsConstructorDescriptionProvSerialiser(ProvFactory pFactory, String extension) ProvSerialiser(ProvFactory pFactory, String extension, Integer maxStringLength) -
Method Summary
Modifier and TypeMethodDescriptionvoidserialiseDocument(OutputStream out, Document document, boolean formatted) Serializes a document to a stream
-
Constructor Details
-
ProvSerialiser
-
ProvSerialiser
-
-
Method Details
-
serialiseDocument
Serializes a document to a stream- Specified by:
serialiseDocumentin interfaceProvSerialiser- Parameters:
out- anOutputStreamdocument- aDocumentformatted- a boolean indicating whether the output should be pretty-printed
-