public final class Export extends Command
| Constructor and Description |
|---|
Export(java.lang.String path)
Default constructor, specifying a target path.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
export(Data data,
java.lang.String target)
Exports the current database to the specified path.
|
java.lang.String |
pinned(Context ctx)
Checks if the database to be updated is opened (pinned) by a process in another JVM.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
build, close, error, execute, execute, getOption, getOption, info, info, newData, result, run, setInput, setInput, stoppable, supportsProg, toString, updated, updatingpublic Export(java.lang.String path)
path - export pathprotected boolean run()
Commandpublic java.lang.String pinned(Context ctx)
Commandpublic static void export(Data data, java.lang.String target) throws java.io.IOException
path will be possibly overwritten.data - data referencetarget - directoryjava.io.IOException - I/O exception