public final class Open extends Command
| Constructor and Description |
|---|
Open(java.lang.String path)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
newData(Context ctx)
Closes an open data reference and returns
true if this command will change
the Context.data reference. |
static Data |
open(java.lang.String name,
Context ctx)
Opens the specified database.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
build, close, error, execute, execute, getOption, getOption, info, info, pinned, result, run, setInput, setInput, stoppable, supportsProg, toString, updated, updatingpublic Open(java.lang.String path)
path - database name and optional pathprotected boolean run()
Commandpublic boolean newData(Context ctx)
Commandtrue if this command will change
the Context.data reference. This method is required by the progress dialog
in the frontend.