Package org.semanticweb.owlapi.io
Class GZipFileDocumentTarget
java.lang.Object
org.semanticweb.owlapi.io.GZipFileDocumentTarget
- All Implemented Interfaces:
OWLOntologyDocumentTarget
An ontology document target which can write to a GZIP File. Notice that this
works best when the output stream is closed explicitly in the client code.
- Since:
- 3.4.8
- Author:
- ignazio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an IRI that points to an ontology document.Gets anOutputStream
that can be used to write an ontology to an ontology document.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.io.OWLOntologyDocumentTarget
getWriter
-
Constructor Details
-
GZipFileDocumentTarget
- Parameters:
os
- the actual file
-
-
Method Details
-
getOutputStream
Description copied from interface:OWLOntologyDocumentTarget
Gets anOutputStream
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.- Specified by:
getOutputStream
in interfaceOWLOntologyDocumentTarget
- Returns:
- The output stream
-
getDocumentIRI
Description copied from interface:OWLOntologyDocumentTarget
Gets an IRI that points to an ontology document. If none is available, return Optional.absent.- Specified by:
getDocumentIRI
in interfaceOWLOntologyDocumentTarget
- Returns:
- The IRI
-