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, setIRIResolutionFailedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReaderpublic 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()
OWLOntologyDocumentSourceCopyright © 2020 The University of Manchester. All rights reserved.