public class StreamDocumentSource extends StreamDocumentSourceBase
Constructor and Description |
---|
StreamDocumentSource(InputStream is)
Constructs an input source which will read an ontology from a
representation from the specified stream.
|
StreamDocumentSource(InputStream is,
IRI iri)
Constructs an input source which will read an ontology from a
representation from the specified stream.
|
StreamDocumentSource(InputStream stream,
IRI documentIRI,
OWLDocumentFormat f,
String mime)
Constructs an input source which will read an ontology from a
representation from the specified stream.
|
getDocumentIRI, getInputStream, getReader, isInputStreamAvailable, isReaderAvailable
getAcceptHeaders, getFormat, getMIMEType, getNextDocumentIRI, isFormatKnown, isMIMETypeKnown, setAcceptHeaders, wrap
public StreamDocumentSource(@Nonnull InputStream is)
is
- The stream that the ontology representation will be read from.public StreamDocumentSource(@Nonnull InputStream is, @Nonnull IRI iri)
is
- The stream that the ontology representation will be read from.iri
- The document IRIpublic StreamDocumentSource(@Nonnull InputStream stream, @Nonnull IRI documentIRI, OWLDocumentFormat f, String mime)
stream
- The stream that the ontology representation will be read from.documentIRI
- The document IRIf
- ontology formatmime
- mime typeCopyright © 2020 The University of Manchester. All rights reserved.