public final class Export extends Command
Constructor and Description |
---|
Export(String path)
Default constructor, specifying a target path.
|
Modifier and Type | Method and Description |
---|---|
void |
databases(LockResult lr)
Adds the names of the databases that may be touched by the process.
|
String |
det()
Returns short information on this process.
|
static void |
export(Data data,
String path,
MainOptions options,
Export export)
Exports the current database to the specified path.
|
static void |
export(Data data,
String path,
SerializerOptions sopts,
Export export)
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, databases, error, execute, execute, finish, finishUpdate, getOption, getOption, info, info, init, newData, run, run, setInput, setInput, startUpdate, toString, toString, updated, updating
abort, checkStop, detail, listen, proc, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
public Export(String path)
path
- export pathprotected boolean run()
Command
public void databases(LockResult lr)
Proc
public static void export(Data data, String path, MainOptions options, Export export) throws IOException
path
will be possibly overwritten.data
- data referencepath
- directoryoptions
- main optionsexport
- calling instanceIOException
- I/O exceptionpublic static void export(Data data, String path, SerializerOptions sopts, Export export) throws IOException
path
will be possibly overwritten.data
- data referencepath
- directorysopts
- serialization parametersexport
- calling instanceIOException
- I/O exceptionpublic double prog()
Proc
public boolean stoppable()
Command
public boolean supportsProg()
Command
supportsProg
in class Command
Copyright © 2005–2015 BaseX Team. All rights reserved.