Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mwc.sqld.db
Class DatabaseFactory

    java.lang.Object
      |
      +--com.mwc.sqld.db.DatabaseFactory

public class DatabaseFactory
extends java.lang.Object

Constructor Summary
`DatabaseFactory()`

Method Summary
`static Database` | `getDatabase(java.lang.String implName, java.lang.String dbName, java.lang.String dbDir)` Create or open a database

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DatabaseFactory

    public DatabaseFactory()

Method Detail

### getDatabase

    public static Database getDatabase(java.lang.String implName,
                                       java.lang.String dbName,
                                       java.lang.String dbDir)
                                throws java.lang.Exception

  Create or open a database
  Parameters:
    `implName` - the name of the database implementation
    `dbName` - the name of hte database
    `dbDir` - the directory for the database
  Returns:
    a reference to a database instance or null if the implementation was not found
  Throws:
    `java.lang.Exception` - if error

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD