public class GZipStreamDocumentSource extends OWLOntologyDocumentSourceBase
Constructor and Description |
---|
GZipStreamDocumentSource(InputStream is)
Constructs an input source which will read an ontology from a
representation from the specified file.
|
GZipStreamDocumentSource(InputStream stream,
IRI documentIRI,
OWLDocumentFormat format,
String mime)
Constructs an input source which will read an ontology from a
representation from the specified stream.
|
Modifier and Type | Method and Description |
---|---|
Optional<InputStream> |
getInputStream()
If an input stream can be obtained from this document source then this method creates it.
|
getAcceptHeaders, getDocumentIRI, getFormat, getMIMEType, hasAlredyFailedOnIRIResolution, hasAlredyFailedOnStreams, setAcceptHeaders, setIRIResolutionFailed
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReader
public GZipStreamDocumentSource(InputStream is)
is
- The stream that the ontology representation will be read from.public GZipStreamDocumentSource(InputStream stream, IRI documentIRI, @Nullable OWLDocumentFormat format, @Nullable String mime)
stream
- The stream that the ontology representation will be read from.documentIRI
- The document IRIformat
- ontology formatmime
- mime typepublic Optional<InputStream> getInputStream()
OWLOntologyDocumentSource
Copyright © 2020 The University of Manchester. All rights reserved.