Package org.semanticweb.owlapi.io
Class SystemOutDocumentTarget
java.lang.Object
org.semanticweb.owlapi.io.SystemOutDocumentTarget
- All Implemented Interfaces:
OWLOntologyDocumentTarget
An output target that will output an ontology to
System.out
.- 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
-
SystemOutDocumentTarget
public SystemOutDocumentTarget()
-
-
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
-