| Constructor and Description |
|---|
Database(File directory,
DatabaseConfig config)
Initialized the database abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
DatabaseConfig |
getConfig() |
File |
getDirectory() |
ITable |
getTable(String name,
boolean create) |
ITable[] |
getTables() |
boolean |
isModified() |
String |
toString() |
public static final String EXTENSION
public Database(File directory, DatabaseConfig config)
directory - the physical directory containing the tables.config - the configuration use.public DatabaseConfig getConfig()
public File getDirectory()
public void flush()
throws DatabaseException
flush in interface IDatabaseDatabaseExceptionpublic boolean isModified()
isModified in interface IDatabaseCopyright © 2020. All rights reserved.