com.hp.hpl.mesa.rdf.jena.bdb
Class StoreBdbF

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.bdb.StoreBdbF
All Implemented Interfaces:
StoreFactory

public class StoreBdbF
extends java.lang.Object
implements StoreFactory

A factory class for creating instances of StoreDb

Version:
$Name: $ $Revision: 1.2 $ $Date: 2001/09/25 14:52:09 $
Author:
bwm

Constructor Summary
StoreBdbF(java.lang.String envdir, java.lang.String filename)
          A factory object which will create stores in the environment defined by envdir and the file filename.
 
Method Summary
 Store createStore(Model model)
          Return a new store, properly configured.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreBdbF

public StoreBdbF(java.lang.String envdir,
                 java.lang.String filename)
A factory object which will create stores in the environment defined by envdir and the file filename.

If the envdir is null, then the default environment directory will be used. This is currently jena.rdf.bdb. The default may be overwritten by setting the value of the system property com.hp.hpl.mesa.rdf.jena.bdbenv

Parameters:
envdir - The name of the directory holding the Berkeley DB environment in which the store will be created
filename - the name of the file in which the store will be created.
Method Detail

createStore

public Store createStore(Model model)
                  throws RDFException
Return a new store, properly configured.
Specified by:
createStore in interface StoreFactory
Parameters:
model - the model to which the store will be attached.
Returns:
the newly created store
Throws:
RDFException - generic RDF exception


Copyright © 2001 Hewlett-Packard. All Rights Reserved.