public class Migrate
extends java.lang.Object
| Constructor and Description |
|---|
Migrate() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.io.File file,
boolean recursive,
java.lang.String user,
java.lang.String password,
boolean runQuiet)
Migrate a database.
|
static void |
main(java.lang.String... args)
Migrate databases.
|
public static void main(java.lang.String... args)
throws java.lang.Exception
args - the path (default is the current directory)java.lang.Exception - if conversion failspublic void execute(java.io.File file,
boolean recursive,
java.lang.String user,
java.lang.String password,
boolean runQuiet)
throws java.lang.Exception
file - the database file (must end with .data.db) or directoryrecursive - if the file parameter is in fact a directory (in which
case the directory is scanned recursively)user - the user name of the databasepassword - the passwordrunQuiet - to run in quiet modejava.lang.Exception - if conversion fails