public class XZFileDocumentSource extends OWLOntologyDocumentSourceBase
| Constructor and Description |
|---|
XZFileDocumentSource(File is)
Constructs an input source which will read an ontology from a
representation from the specified file.
|
XZFileDocumentSource(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, setIRIResolutionFailedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReaderpublic XZFileDocumentSource(File is)
is - The file that the ontology representation will be read from.public XZFileDocumentSource(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 © 2021 The University of Manchester. All rights reserved.