db
Class BDB

java.lang.Object
  extended by db.BDB

public class BDB
extends java.lang.Object

Utilities for Berkeley DB.


Constructor Summary
BDB()
           
 
Method Summary
static com.sleepycat.db.Environment resetEnvironment(java.lang.String dir, com.sleepycat.db.EnvironmentConfig conf)
          Creates or cleans up a file system directory to be used by the BDB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BDB

public BDB()
Method Detail

resetEnvironment

public static com.sleepycat.db.Environment resetEnvironment(java.lang.String dir,
                                                            com.sleepycat.db.EnvironmentConfig conf)
Creates or cleans up a file system directory to be used by the BDB.

Parameters:
dir - the directory to be created or cleaned up
conf - configuration of BDB evironment
Returns:
the resulting environment