public class ZipDocumentTarget extends Object implements OWLOntologyDocumentTarget
| Constructor and Description |
|---|
ZipDocumentTarget(File file) |
| 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 ZipDocumentTarget(File file)
file - the file to usepublic 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 © 2020 The University of Manchester. All rights reserved.