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, throwUnsupportedOption
public 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 argumentsSQLException
public void runTool(String... args) throws SQLException
Tool
runTool
in class Tool
args
- the argument listSQLException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.