|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.io.StreamDocumentTarget
public class StreamDocumentTarget
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Jan-2008
Constructor Summary | |
---|---|
StreamDocumentTarget(java.io.OutputStream os)
|
Method Summary | |
---|---|
IRI |
getDocumentIRI()
Gets an IRI that points to an ontology document. |
java.io.OutputStream |
getOutputStream()
Gets an OutputStream that can be used to write an ontology to an ontology document. |
java.io.Writer |
getWriter()
Gets a Writer that can be used to write an ontology to an ontology document. |
boolean |
isDocumentIRIAvailable()
Determines if an IRI that points to an ontology document is available. |
boolean |
isOutputStreamAvailable()
Determines if this document target can be pointed to by an OutputStream . |
boolean |
isWriterAvailable()
Determines if this document target can be pointed to by a Writer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamDocumentTarget(java.io.OutputStream os)
Method Detail |
---|
public boolean isWriterAvailable()
OWLOntologyDocumentTarget
Writer
.
isWriterAvailable
in interface OWLOntologyDocumentTarget
true
if a Writer
can be obtained from this document target.public java.io.Writer getWriter()
OWLOntologyDocumentTarget
Writer
that can be used to write an ontology to an ontology document.
getWriter
in interface OWLOntologyDocumentTarget
public boolean isOutputStreamAvailable()
OWLOntologyDocumentTarget
OutputStream
.
isOutputStreamAvailable
in interface OWLOntologyDocumentTarget
true
if an OutputStream
can be obtained from this document target.public java.io.OutputStream getOutputStream()
OWLOntologyDocumentTarget
OutputStream
that can be used to write an ontology to an ontology document.
getOutputStream
in interface OWLOntologyDocumentTarget
public boolean isDocumentIRIAvailable()
OWLOntologyDocumentTarget
isDocumentIRIAvailable
in interface OWLOntologyDocumentTarget
true
if an IRI is available, otherwise false
.public IRI getDocumentIRI()
OWLOntologyDocumentTarget
getDocumentIRI
in interface OWLOntologyDocumentTarget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |