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.
|
getDocumentIRI, getInputStream, getReader, isInputStreamAvailable, isReaderAvailable
getAcceptHeaders, getFormat, getMIMEType, getNextDocumentIRI, isFormatKnown, isMIMETypeKnown, setAcceptHeaders, wrap
public ReaderDocumentSource(@Nonnull Reader reader)
reader
- The reader that will be used to read an ontology.public ReaderDocumentSource(@Nonnull Reader reader, @Nonnull 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(@Nonnull Reader reader, @Nonnull IRI iri, OWLDocumentFormat f, 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.