Package org.semanticweb.owlapi.io
Class ZipDocumentTarget
java.lang.Object
org.semanticweb.owlapi.io.ZipDocumentTarget
- All Implemented Interfaces:
OWLOntologyDocumentTarget
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets 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
getDocumentIRI, getWriter
-
Constructor Details
-
ZipDocumentTarget
- Parameters:
file
- the file to use
-
-
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
-