public class GZipFileDocumentSource extends OWLOntologyDocumentSourceBase
| Constructor and Description |
|---|
GZipFileDocumentSource(File is)
Constructs an input source which will read an ontology from a
representation from the specified file.
|
GZipFileDocumentSource(File stream,
IRI documentIRI,
OWLDocumentFormat format,
String mime)
Constructs an input source which will read an ontology from a
representation from the specified file.
|
| 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.
|
getDocumentIRI, getFormat, getMIMEType, hasAlredyFailedOnIRIResolution, hasAlredyFailedOnStreams, setIRIResolutionFailedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReaderpublic GZipFileDocumentSource(File is)
is - The file that the ontology representation will be read from.public GZipFileDocumentSource(File stream, IRI documentIRI, @Nullable OWLDocumentFormat format, @Nullable String mime)
stream - The file that the ontology representation will be read from.documentIRI - The document IRIformat - ontology formatmime - mime typepublic Optional<InputStream> getInputStream()
OWLOntologyDocumentSourceCopyright © 2017 The University of Manchester. All rights reserved.