| Modifier and Type | Field and Description |
|---|---|
private Map<String,Database> |
databaseCollection |
private File |
dir |
private short |
tick |
private Timer |
timer |
| Constructor and Description |
|---|
DatabaseManager()
Constructs a new database manager.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseManager |
clear()
Clears the currently opened documents of the loaded databases.
|
Database |
getDatabase(String name)
Returns a database for the given
name. |
Map<String,Database> |
getDatabaseCollection() |
List<String> |
getDatabases()
Returns the names of the databases.
|
File |
getDir() |
short |
getTick() |
Timer |
getTimer() |
DatabaseManager |
save()
Saves the currently opened documents in the loaded databases.
|
public DatabaseManager save()
DatabaseImpl.save()public DatabaseManager clear()
DatabaseImpl.clear()public File getDir()
public short getTick()
public Timer getTimer()
public List<String> getDatabases()
Copyright © 2020. All rights reserved.