|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataManagementTool
Delegate to the correct data management tool.
Method Summary | |
---|---|
void |
backupDatabase(File backupDirectory)
Backup the database. |
void |
eraseDatabase()
Smoke the database. |
void |
restoreDatabase(File backupDirectory,
boolean strict)
Restore the database. |
Method Detail |
---|
void backupDatabase(File backupDirectory) throws IOException, DataManagementException
backupDirectory
- the directory to backup to
IOException
- if there is a problem writing to the backup file
DataManagementException
- if there is a problem reading from the databasevoid restoreDatabase(File backupDirectory, boolean strict) throws IOException, DataManagementException
backupDirectory
- the directory where the backup to restore from residesstrict
-
IOException
- if there is a problem reading the backup file
DataManagementException
- if there is a problem parsing the backup filevoid eraseDatabase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |