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.
|
getAcceptHeaders, getDocumentIRI, getFormat, getMIMEType, hasAlredyFailedOnIRIResolution, hasAlredyFailedOnStreams, setAcceptHeaders, setIRIResolutionFailed
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReader
public 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()
OWLOntologyDocumentSource
Copyright © 2020 The University of Manchester. All rights reserved.