com.hp.hpl.jena.eyeball.loaders
Class JDBCLoader

java.lang.Object
  extended by com.hp.hpl.jena.eyeball.loaders.JDBCLoader
All Implemented Interfaces:
Loader

public class JDBCLoader
extends java.lang.Object
implements Loader

Answer the RDB model which has the given name in the given database specified by a jdbc URL.


Constructor Summary
JDBCLoader()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model load(java.lang.String s)
          Answer a Jena database model specified by the extended database URL s.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCLoader

public JDBCLoader()
Method Detail

load

public com.hp.hpl.jena.rdf.model.Model load(java.lang.String s)
Answer a Jena database model specified by the extended database URL s.

s has the form jdbc:DB:head:model. The prefix jdbc:DB:head is taken to be the URL of the database connection, and model is the name of a Jena model in that database. The user and password are taken from the usual Jena system properties.

Specified by:
load in interface Loader