public class DeleteDbFiles extends Tool
| Constructor and Description |
|---|
DeleteDbFiles() |
| Modifier and Type | Method and Description |
|---|---|
static void |
execute(String dir,
String db,
boolean quiet)
Deletes the database files.
|
static void |
main(String... args)
Options are case sensitive.
|
void |
runTool(String... args)
Run the tool with the given output stream and arguments.
|
isOption, printNoDatabaseFilesFound, setOut, showUsage, throwUnsupportedOptionpublic static void main(String... args) throws 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 argumentsSQLExceptionpublic void runTool(String... args) throws SQLException
ToolrunTool in class Toolargs - the argument listSQLExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.