| java.lang.Object org.h2.tools.DeleteDbFiles
DeleteDbFiles | public class DeleteDbFiles (Code) | | Delete the database files. The database must be closed before calling this
tool.
|
Method Summary | |
public static void | execute(String dir, String db, boolean quiet) Deletes the database files. | public static void | main(String[] args) The command line interface for this tool.
The options must be split into strings like this: "-db", "test",...
Options are case sensitive. |
execute | public static void execute(String dir, String db, boolean quiet) throws SQLException(Code) | | Deletes the database files.
Parameters: dir - the directory Parameters: db - the database name (null for all databases) Parameters: quiet - don't print progress information throws: SQLException - |
main | public static void main(String[] args) throws SQLException(Code) | | The command line interface for this tool.
The options must be split into strings like this: "-db", "test",...
Options are case sensitive. The following options are supported:
- -help or -? (print the list of options)
- -dir database directory (the default is the current directory)
- -db database name (all databases if no name is specified)
- -quiet does not print progress information
Parameters: args - the command line arguments throws: SQLException - |
|
|