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.
|
StreamDocumentSource(InputStream stream,
String prefix,
OWLDocumentFormat f,
String mime)
Constructs an input source which will read an ontology from a
representation from the specified stream.
|
getInputStream, getReader
getAcceptHeaders, getDocumentIRI, getFormat, getMIMEType, hasAlredyFailedOnIRIResolution, hasAlredyFailedOnStreams, setAcceptHeaders, setIRIResolutionFailed
public StreamDocumentSource(InputStream is)
is
- The stream that the ontology representation will be read from.public StreamDocumentSource(InputStream is, IRI iri)
is
- The stream that the ontology representation will be read from.iri
- The document IRIpublic StreamDocumentSource(InputStream stream, IRI documentIRI, @Nullable OWLDocumentFormat f, @Nullable String mime)
stream
- The stream that the ontology representation will be read from.documentIRI
- The document IRIf
- ontology formatmime
- mime typepublic StreamDocumentSource(InputStream stream, String prefix, @Nullable OWLDocumentFormat f, @Nullable String mime)
stream
- The stream that the ontology representation will be read from.prefix
- The document IRI prefixf
- ontology formatmime
- mime typeCopyright © 2020 The University of Manchester. All rights reserved.