org.openrdf.repository.loader
Class LoaderRepository
java.lang.Object
org.openrdf.repository.base.RepositoryWrapper
org.openrdf.repository.loader.LoaderRepository
- All Implemented Interfaces:
- DelegatingRepository, Repository
public class LoaderRepository
- extends RepositoryWrapper
This repository monitors external datasets and loads then into a context in
the repository.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoaderRepository
public LoaderRepository()
LoaderRepository
public LoaderRepository(Repository delegate)
setClassLoader
public void setClassLoader(ClassLoader cl)
loadResources
public void loadResources(String path)
throws IOException,
RepositoryException,
RDFParseException
- Throws:
IOException
RepositoryException
RDFParseException
loadContext
public void loadContext(URL dataset,
URI context)
throws IOException,
RepositoryException,
RDFParseException
- Throws:
IOException
RepositoryException
RDFParseException
getConnection
public RepositoryConnection getConnection()
throws RepositoryException
- Specified by:
getConnection in interface Repository- Overrides:
getConnection in class RepositoryWrapper
- Throws:
RepositoryException
shutDown
public void shutDown()
throws RepositoryException
- Specified by:
shutDown in interface Repository- Overrides:
shutDown in class RepositoryWrapper
- Throws:
RepositoryException
clearLoadedContexts
public void clearLoadedContexts()
throws RepositoryException
- Throws:
RepositoryException
Copyright © 2004-2008 Aduna. All Rights Reserved.