|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.semanticweb.owlapi.io.IRIDocumentSource
public class IRIDocumentSource
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 24-Apr-2007
| Constructor Summary | |
|---|---|
IRIDocumentSource(IRI documentIRI)
|
|
| Method Summary | |
|---|---|
IRI |
getDocumentIRI()
Gets the IRI of the ontology document. |
java.io.InputStream |
getInputStream()
If an input stream can be obtained from this document source then this method creates it. |
java.io.Reader |
getReader()
Gets a reader which an ontology document can be read from. |
boolean |
isInputStreamAvailable()
Determines if an input stream is available which an ontology document can be parsed from. |
boolean |
isReaderAvailable()
Determines if a reader is available which an ontology document can be parsed from. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IRIDocumentSource(IRI documentIRI)
| Method Detail |
|---|
public IRI getDocumentIRI()
OWLOntologyDocumentSource
getDocumentIRI in interface OWLOntologyDocumentSourcenull.public boolean isInputStreamAvailable()
OWLOntologyDocumentSource
isInputStreamAvailable in interface OWLOntologyDocumentSourcetrue if an input stream can be obtained,
false if an input stream cannot be obtained from
this document source.public java.io.InputStream getInputStream()
OWLOntologyDocumentSourceisInputStreamAvailable
method returns false.
getInputStream in interface OWLOntologyDocumentSourcepublic boolean isReaderAvailable()
OWLOntologyDocumentSource
isReaderAvailable in interface OWLOntologyDocumentSourcetrue if a reader can be obtained from this
document source, or false if a reader cannot be obtained
from this document source.public java.io.Reader getReader()
OWLOntologyDocumentSourceReader. This method should not be called if the
isReaderAvailable method returns false. A Runtime execption will be
thrown if this happens.
getReader in interface OWLOntologyDocumentSourceReader which the ontology can be read from.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||