|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.owl.io.StringInputSource
public class StringInputSource
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 24-Apr-2007
| Constructor Summary | |
|---|---|
StringInputSource(java.lang.String string)
|
|
StringInputSource(java.lang.String string,
java.net.URI ontologyURI)
Specified an input source with an ontology URI |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
If an input stream can be obtained from this input source then this method creates it. |
java.net.URI |
getPhysicalURI()
Gets the physical URI of the ontology. |
java.io.Reader |
getReader()
Gets a reader which can be used to read an ontology from. |
boolean |
isInputStreamAvailable()
Determines if an input stream is available which an ontology can be parsed from. |
boolean |
isReaderAvailable()
Determines if a reader is available which an ontology can be parsed from. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringInputSource(java.lang.String string)
public StringInputSource(java.lang.String string,
java.net.URI ontologyURI)
string - ontologyURI - | Method Detail |
|---|
public boolean isReaderAvailable()
OWLOntologyInputSource
isReaderAvailable in interface OWLOntologyInputSourcetrue if a reader can be ontained from this
input source, or false if a reader cannot be obtained
from this input source.public java.io.Reader getReader()
OWLOntologyInputSourceReader. This method should not be called if the
isReaderAvailable method returns false
getReader in interface OWLOntologyInputSourceReader which the ontology can be read from.public boolean isInputStreamAvailable()
OWLOntologyInputSource
isInputStreamAvailable in interface OWLOntologyInputSourcetrue if an input stream can be obtained,
false if an input stream cannot be obtained from
this input source.public java.io.InputStream getInputStream()
OWLOntologyInputSourceisInputStreamAvailable
method returns false.
getInputStream in interface OWLOntologyInputSourcepublic java.net.URI getPhysicalURI()
OWLOntologyInputSource
getPhysicalURI in interface OWLOntologyInputSourcenull.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||