public static class ExtendedCommand.BackupCommand extends Object implements ExtendedCommand.SQLExtension
Constructor and Description |
---|
BackupCommand(String srcDB,
String destFile)
Constructs a BackupCommand instance that backup the database to a target file.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(DB db) |
static ExtendedCommand.BackupCommand |
parse(String sql)
Parses SQLite database backup command and creates a BackupCommand object.
|
public static ExtendedCommand.BackupCommand parse(String sql) throws SQLException
sql
- SQLite database backup command.SQLException
public void execute(DB db) throws SQLException
execute
in interface ExtendedCommand.SQLExtension
SQLException
Copyright © 2021. All rights reserved.