public static class ExtendedCommand.RestoreCommand extends Object implements ExtendedCommand.SQLExtension
| Constructor and Description |
|---|
RestoreCommand(String targetDB,
String srcFile)
Constructs a RestoreCommand instance that restores the database from a given source file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DB db) |
static ExtendedCommand.RestoreCommand |
parse(String sql)
Parses SQLite database restore command and creates a RestoreCommand object.
|
public static ExtendedCommand.RestoreCommand parse(String sql) throws SQLException
sql - SQLite restore backup commandSQLExceptionpublic void execute(DB db) throws SQLException
execute in interface ExtendedCommand.SQLExtensionSQLExceptionExtendedCommand.SQLExtension.execute(org.sqlite.core.DB)Copyright © 2017. All rights reserved.