public interface OWLOntologyDocumentSource
Reader
InputStream
IRI
| Modifier and Type | Method and Description |
|---|---|
IRI |
getDocumentIRI()
Gets the IRI of the ontology document.
|
default Optional<OWLDocumentFormat> |
getFormat() |
default Optional<InputStream> |
getInputStream()
If an input stream can be obtained from this document source then this
method creates it.
|
default Optional<String> |
getMIMEType() |
default Optional<Reader> |
getReader()
Gets a reader which an ontology document can be read from.
|
boolean |
hasAlredyFailedOnIRIResolution() |
boolean |
hasAlredyFailedOnStreams() |
void |
setIRIResolutionFailed(boolean value)
IRI resolution does not happen inside this class.
|
default Optional<Reader> getReader()
Reader. If there is no reader stream available, returns
Optional.absent.Reader which the ontology can be read from, wrapped
in an Optional.default Optional<InputStream> getInputStream()
IRI getDocumentIRI()
default Optional<OWLDocumentFormat> getFormat()
default Optional<String> getMIMEType()
boolean hasAlredyFailedOnStreams()
boolean hasAlredyFailedOnIRIResolution()
void setIRIResolutionFailed(boolean value)
value - new value for the flagCopyright © 2017 The University of Manchester. All Rights Reserved.