|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.ejb.DBImplementation
public class DBImplementation
DBImplementation Isolates from dependencies on DBMS
| Field Summary | |
|---|---|
static java.lang.String |
theMySqlBundleName
theMySqlBundleName is the bundle name for MySql |
static java.lang.String |
thePostGresQlBundleName
thePostGresQlBundleName is the bundle name for PostGresQl |
| Constructor Summary | |
|---|---|
DBImplementation()
|
|
| Method Summary | |
|---|---|
static void |
enumValues()
Enumerate keys/value pairs for debugging purposes |
static java.util.Enumeration<java.lang.String> |
getKeys()
Enumerate keys |
static java.lang.String |
getString(java.lang.String thisKey)
Get resource from key |
static boolean |
set(java.lang.String thisImplementation)
Set resource bundle to DBMS dependent bundle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String theMySqlBundleName
theMySqlBundleName is the bundle name for MySql
public static java.lang.String thePostGresQlBundleName
thePostGresQlBundleName is the bundle name for PostGresQl
| Constructor Detail |
|---|
public DBImplementation()
| Method Detail |
|---|
public static boolean set(java.lang.String thisImplementation)
thisImplementation - is the name of the DBMS (currently supported values: mysql | postgresql)
public static java.lang.String getString(java.lang.String thisKey)
thisKey - is the resource key
public static java.util.Enumeration<java.lang.String> getKeys()
public static void enumValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||