public class StreamDocumentTarget extends Object implements OWLOntologyDocumentTarget
| Constructor and Description |
|---|
StreamDocumentTarget(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, waitgetDocumentIRI, getWriterpublic StreamDocumentTarget(OutputStream os)
os - the actual output streampublic Optional<OutputStream> getOutputStream()
OWLOntologyDocumentTargetOutputStream 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 OWLOntologyDocumentTargetCopyright © 2017 The University of Manchester. All rights reserved.