org.paneris.bibliomania.fti
Class StringDbHash

java.lang.Object
  extended by org.paneris.bibliomania.fti.StringDbHash

public class StringDbHash
extends java.lang.Object


Constructor Summary
StringDbHash(com.sleepycat.db.Environment env, java.lang.String path, int cacheSize)
           
StringDbHash(com.sleepycat.db.Environment env, java.lang.String path, int cacheSize, int mode)
           
StringDbHash(java.lang.String path, int cacheSize)
           
StringDbHash(java.lang.String path, int cacheSize, int mode)
           
 
Method Summary
protected  void finalize()
           
 void flush()
           
 java.lang.String get(java.lang.String key)
           
static void main(java.lang.String[] args)
           
 void put(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringDbHash

public StringDbHash(com.sleepycat.db.Environment env,
                    java.lang.String path,
                    int cacheSize,
                    int mode)
             throws com.sleepycat.db.DatabaseException,
                    java.io.FileNotFoundException
Throws:
com.sleepycat.db.DatabaseException
java.io.FileNotFoundException

StringDbHash

public StringDbHash(java.lang.String path,
                    int cacheSize,
                    int mode)
             throws com.sleepycat.db.DatabaseException,
                    java.io.FileNotFoundException
Throws:
com.sleepycat.db.DatabaseException
java.io.FileNotFoundException

StringDbHash

public StringDbHash(com.sleepycat.db.Environment env,
                    java.lang.String path,
                    int cacheSize)
             throws com.sleepycat.db.DatabaseException,
                    java.io.FileNotFoundException
Throws:
com.sleepycat.db.DatabaseException
java.io.FileNotFoundException

StringDbHash

public StringDbHash(java.lang.String path,
                    int cacheSize)
             throws com.sleepycat.db.DatabaseException,
                    java.io.FileNotFoundException
Throws:
com.sleepycat.db.DatabaseException
java.io.FileNotFoundException
Method Detail

put

public void put(java.lang.String key,
                java.lang.String value)

get

public java.lang.String get(java.lang.String key)

flush

public void flush()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2009 PanEris. All Rights Reserved.