org.openrdf.repository.object.compiler
Class OntologyLoader
java.lang.Object
org.openrdf.repository.object.compiler.OntologyLoader
public class OntologyLoader
- extends Object
Reads ontologies and schemas into memory from remote sources.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OntologyLoader
public OntologyLoader(Model model)
getImported
public List<URL> getImported()
getModel
public Model getModel()
getNamespaces
public Map<URI,Map<String,String>> getNamespaces()
- context -> prefix -> namespace
loadOntologies
public void loadOntologies(List<URL> urls)
throws RDFParseException,
IOException
- Throws:
RDFParseException
IOException
followImports
public void followImports()
throws RDFParseException,
IOException
- Throws:
RDFParseException
IOException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.