public class DeleteDbFiles
extends org.h2.util.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.
|
public 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.SQLException
- on failurepublic void runTool(java.lang.String... args) throws java.sql.SQLException
org.h2.util.Tool
runTool
in class org.h2.util.Tool
args
- the argument listjava.sql.SQLException
- on failurepublic 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