|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLOntologyDocumentSource
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 24-Apr-2007
A document source provides a point for loading an ontology.
A document source may provide three ways of obtaining an ontology document:
Reader
InputStream
IRI
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. |
Method Detail |
---|
boolean isReaderAvailable()
true
if a reader can be obtained from this
document source, or false
if a reader cannot be obtained
from this document source.java.io.Reader getReader()
Reader
. This method should not be called if the
isReaderAvailable
method returns false. A Runtime
execption will be
thrown if this happens.
Reader
which the ontology can be read from.boolean isInputStreamAvailable()
true
if an input stream can be obtained,
false
if an input stream cannot be obtained from
this document source.java.io.InputStream getInputStream()
isInputStreamAvailable
method returns false
.
IRI getDocumentIRI()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |