|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.io.ZipDocumentTarget
public class ZipDocumentTarget
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 03-Apr-2009
Constructor Summary | |
---|---|
ZipDocumentTarget(java.io.File file)
|
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 ZipDocumentTarget(java.io.File file)
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() throws java.io.IOException
OWLOntologyDocumentTarget
Writer
that can be used to write an ontology to an ontology document.
getWriter
in interface OWLOntologyDocumentTarget
java.io.IOException
- if there was a problem obtaining the writerpublic boolean isOutputStreamAvailable()
OWLOntologyDocumentTarget
OutputStream
.
isOutputStreamAvailable
in interface OWLOntologyDocumentTarget
true
if an OutputStream
can be obtained from this document target.public java.io.OutputStream getOutputStream() throws java.io.IOException
OWLOntologyDocumentTarget
OutputStream
that can be used to write an ontology to an ontology document.
getOutputStream
in interface OWLOntologyDocumentTarget
java.io.IOException
- if there was a problem obtaining the output streampublic 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 |