Overview | File | Class | Tree | Index | Help
| Jala 1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class jala.db.FileDatabase

    Object
       |
       +--jala.db.RamDatabase
             |
             +--jala.db.FileDatabase

class jala.db.FileDatabase
extends jala.db.RamDatabase

Instances of this class represent a file based in-process database
Important: You need the hsqldb.jar in lib/ext of your helma installation for this library to work, which you can get at http://hsqldb.org/.
Defined in Database.js

Constructor Summary
`jala.db.FileDatabase (<String> name, <helma.File> directory)` Returns a newly created instance of FileDatabase.

Method Summary
`helma.File` | `getDirectory()` Returns the directory where the database files are stored.
`String` | `getName()` Returns the name of the database

Methods inherited from class jala.db.RamDatabase
`getUrl, getProperties, getConnection, shutdown, dropTable, tableExists, copyTables, runScript`

Constructor Detail

### jala.db.FileDatabase

    jala.db.FileDatabase(<String> name, <helma.File> directory)

Returns a newly created instance of FileDatabase.

Parameters:

`name` - The name of the database

`directory` - The directory where the database files should be stored in.

Returns:

A newly created FileDatabase instance

Method Detail

### getDirectory

    helma.File getDirectory()

Returns the directory where the database files are stored.

Returns:

The directory where the database is stored.

### getName

    String getName()

Returns the name of the database

Returns:

The name of the database

Overview | File | Class | Tree | Index | Help
| Jala 1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Tue May 29 10:26:15 2007