public class GZipFileDocumentTarget extends Object implements OWLOntologyDocumentTarget
| Constructor and Description |
|---|
GZipFileDocumentTarget(File os) |
| Modifier and Type | Method and Description |
|---|---|
Optional<IRI> |
getDocumentIRI()
Gets an IRI that points to an ontology document.
|
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, waitgetWriterpublic GZipFileDocumentTarget(File os)
os - the actual filepublic 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 OWLOntologyDocumentTargetpublic Optional<IRI> getDocumentIRI()
OWLOntologyDocumentTargetgetDocumentIRI in interface OWLOntologyDocumentTargetCopyright © 2020 The University of Manchester. All rights reserved.