Package org.semanticweb.owlapi.util
Class OWLZipClosureIRIMapper
java.lang.Object
org.semanticweb.owlapi.util.OWLZipClosureIRIMapper
- All Implemented Interfaces:
Serializable
,OWLOntologyIRIMapper
An IRI mapper that uses a zip file and its owlzip.properties content to map logical IRIs to
jar:
IRIs. This enables access to zipped imports closures.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OWLZipClosureIRIMapper
- Parameters:
f
- zip file- Throws:
IOException
- thrown if access to the file is impossible
-
-
Method Details
-
getDocumentIRI
Description copied from interface:OWLOntologyIRIMapper
Given an ontology IRI, this method maps the ontology IRI to a document IRI.- Specified by:
getDocumentIRI
in interfaceOWLOntologyIRIMapper
- Parameters:
ontologyIRI
- The ontology IRI to be mapped.- Returns:
- The document IRI of the ontology, or
null
if the mapper doesn't have mapping for the specified ontology IRI.
-
roots
- Returns:
- stream of known roots; can be empty
-
mappedEntries
- Returns:
- all known mappings
-