public class GZipStreamDocumentTarget extends Object implements OWLOntologyDocumentTarget
Constructor and Description |
---|
GZipStreamDocumentTarget(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
Optional<OutputStream> |
getOutputStream()
Gets an
OutputStream that can be used to write an
ontology to an ontology document. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentIRI, getWriter
public GZipStreamDocumentTarget(OutputStream os)
os
- the actual filepublic Optional<OutputStream> getOutputStream()
OWLOntologyDocumentTarget
OutputStream
that can be used to write an
ontology to an ontology document. If none is available, return
Optional.absent. Do not call multiple times for the same file: the output
file will be opened for write multiple times.getOutputStream
in interface OWLOntologyDocumentTarget
Copyright © 2020 The University of Manchester. All rights reserved.