public class ReaderDocumentSource extends StreamDocumentSourceBase
Constructor and Description |
---|
ReaderDocumentSource(Reader reader)
Constructs and ontology input source which will read an ontology from a
reader.
|
ReaderDocumentSource(Reader reader,
IRI iri)
Constructs and ontology input source which will read an ontology from a
reader.
|
ReaderDocumentSource(Reader reader,
IRI iri,
OWLDocumentFormat f,
String mime)
Constructs and ontology input source which will read an ontology from a
reader.
|
getInputStream, getReader
getAcceptHeaders, getDocumentIRI, getFormat, getMIMEType, hasAlredyFailedOnIRIResolution, hasAlredyFailedOnStreams, setAcceptHeaders, setIRIResolutionFailed
public ReaderDocumentSource(Reader reader)
reader
- The reader that will be used to read an ontology.public ReaderDocumentSource(Reader reader, IRI iri)
reader
- The reader that will be used to read an ontology.iri
- The ontology document IRI which will be used as the base of the document if
needed.public ReaderDocumentSource(Reader reader, IRI iri, @Nullable OWLDocumentFormat f, @Nullable String mime)
reader
- The reader that will be used to read an ontology.iri
- The ontology document IRI which will be used as the base of the document if
needed.f
- ontology formatmime
- mime typeCopyright © 2020 The University of Manchester. All rights reserved.