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, wait
getWriter
public GZipFileDocumentTarget(File 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
public Optional<IRI> getDocumentIRI()
OWLOntologyDocumentTarget
getDocumentIRI
in interface OWLOntologyDocumentTarget
Copyright © 2020 The University of Manchester. All rights reserved.