public class OntologyCache extends SimpleLoader implements OntologyLoader
| Constructor and Description |
|---|
OntologyCache(String cacheDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
void |
download(String from,
String to) |
boolean |
isOntologyCached(String ontologyUri) |
com.hp.hpl.jena.ontology.OntModel |
loadOntology(String ontologyUri) |
static void |
main(String[] args) |
loadImportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadImportspublic OntologyCache(String cacheDir)
public com.hp.hpl.jena.ontology.OntModel loadOntology(String ontologyUri)
loadOntology in interface OntologyLoaderloadOntology in class SimpleLoaderpublic void clearCache()
public void download(String from, String to) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionpublic boolean isOntologyCached(String ontologyUri)
Copyright © 2013. All Rights Reserved.