public final class Store extends ACreate
Constructor and Description |
---|
Store(String path)
Constructor, specifying a target path.
|
Store(String path,
String input)
Constructor, specifying a target path and an input.
|
Modifier and Type | Method and Description |
---|---|
void |
build(CmdBuilder cb)
Builds a string representation from the command.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
static void |
store(InputSource in,
IOFile file)
Stores the specified source to the specified file.
|
databases, newData, stoppable, supportsProg
close, databases, error, execute, execute, finish, finishUpdate, getOption, getOption, info, info, init, run, run, setInput, setInput, startUpdate, toString, toString, updated, updating
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
public Store(String path)
Command.setInput(InputStream)
.path
- target pathprotected boolean run()
Command
public static void store(InputSource in, IOFile file) throws IOException
in
- input sourcefile
- target fileIOException
- I/O exceptionpublic void build(CmdBuilder cb)
Command
Copyright © 2005–2015 BaseX Team. All rights reserved.