Package org.sqlite
Class ExtendedCommand
java.lang.Object
org.sqlite.ExtendedCommand
parsing SQLite specific extension of SQL command
- Author:
- leo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtendedCommand.SQLExtension
Parses extended commands of "backup" or "restore" for SQLite database.static String
Remove the quotation mark from string.
-
Constructor Details
-
ExtendedCommand
public ExtendedCommand()
-
-
Method Details
-
parse
Parses extended commands of "backup" or "restore" for SQLite database.- Parameters:
sql
- One of the extended commands:
backup sourceDatabaseName to destinationFileName OR restore targetDatabaseName from sourceFileName- Returns:
- BackupCommand object if the argument is a backup command; RestoreCommand object if the argument is a restore command;
- Throws:
SQLException
-
removeQuotation
Remove the quotation mark from string.- Parameters:
s
- String with quotation mark.- Returns:
- String with quotation mark removed.
-