fr.inrialpes.exmo.align.impl
Class OntologyCache
java.lang.Object
fr.inrialpes.exmo.align.impl.OntologyCache
public class OntologyCache
- extends Object
This caches the loaded ontologies so that it is possible to share them between alignments
as well as to unload them if necessary.
This class is currently tied to the OWL API. It will be possible to extend it.
- Version:
- $Id: OntologyCache.java 524 2007-07-18 10:56:10Z euzenat $
- Author:
- Jérôme Euzenat
Field Summary |
(package private) Hashtable |
ontologies
The list of currently loaded ontologies as a function:
URI --> Ontology
This is the ontology URI, NOT its filename |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ontologies
Hashtable ontologies
- The list of currently loaded ontologies as a function:
URI --> Ontology
This is the ontology URI, NOT its filename
OntologyCache
public OntologyCache()
recordOntology
public void recordOntology(URI uri,
Object ontology)
getOntology
public org.semanticweb.owl.model.OWLOntology getOntology(URI uri)
unloadOntology
public void unloadOntology(URI uri,
Object ontology)
clear
public void clear()
(C) INRIA & friends, 2003-2008