public interface IMngDatabase
Database manager for file-based RDBMS (SQLite/H2). It can create and change current database (file). For Android there is extended manager that can upload/download database from Google Drive. In standard OS (*NIX, MS WINDOWS) user should make database copy by himself and it is recommended to use Google Drive as private and safety storage.
| Modifier and Type | Method and Description |
|---|---|
void |
changeDatabase(String pDbName)
Change database.
|
void |
createDatabase(String pDbName,
int pDbId)
Create new database.
|
String |
retrieveCurrentDbName()
Retrieve current DB name.
|
List<String> |
retrieveList()
List databases.
|
List<String> retrieveList() throws Exception
List databases.
Exception - - an exceptionString retrieveCurrentDbName() throws Exception
Retrieve current DB name.
Exception - - an exceptionvoid createDatabase(String pDbName, int pDbId) throws Exception
Create new database.
pDbName - database name without extensionpDbId - database IDException - - an exceptionCopyright © 2016–2018. All rights reserved.