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 |
|---|---|
java.lang.String |
det()
Returns short information on this process.
|
static void |
export(Data data,
java.lang.String target,
Export e)
Exports the current database to the specified path.
|
double |
prog()
Returns a progress value (0 - 1).
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
boolean |
stoppable()
Returns true if this command can be stopped.
|
boolean |
supportsProg()
Returns true if this command returns a progress value.
|
build, close, error, execute, execute, getOption, getOption, info, info, newData, result, run, setInput, setInput, toString, updated, updatingpublic Export(java.lang.String path)
path - export pathprotected boolean run()
Commandpublic static void export(Data data, java.lang.String target, Export e) throws java.io.IOException
path will be possibly overwritten.data - data referencetarget - directorye - calling instancejava.io.IOException - I/O exceptionpublic double prog()
Progresspublic boolean stoppable()
Commandpublic boolean supportsProg()
CommandsupportsProg in class Command