public class DeleteDbFiles extends Tool
| Constructor and Description |
|---|
DeleteDbFiles() |
| Modifier and Type | Method and Description |
|---|---|
static void |
execute(java.lang.String dir,
java.lang.String db,
boolean quiet)
Deletes the database files.
|
static void |
main(java.lang.String... args)
Options are case sensitive.
|
void |
runTool(java.lang.String... args)
Run the tool with the given output stream and arguments.
|
isOption, printNoDatabaseFilesFound, setOut, showUsage, showUsageAndThrowUnsupportedOption, throwUnsupportedOptionpublic static void main(java.lang.String... args)
throws java.sql.SQLException
| [-help] or [-?] | Print the list of options |
| [-dir <dir>] | The directory (default: .) |
| [-db <database>] | The database name |
| [-quiet] | Do not print progress information |
args - the command line argumentsjava.sql.SQLExceptionpublic void runTool(java.lang.String... args)
throws java.sql.SQLException
Toolpublic static void execute(java.lang.String dir,
java.lang.String db,
boolean quiet)
dir - the directorydb - the database name (null for all databases)quiet - don't print progress information