public final class Add extends ACreate
Constructor and Description |
---|
Add(String path)
Constructor, specifying a target path.
|
Add(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 double |
prog()
Returns a progress value (0 - 1).
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
protected String |
tit()
Returns short information on this process.
|
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, progress, registered, registered, startTimeout, stop, stopTimeout, title
public Add(String path)
Command.setInput(InputStream)
.path
- target path, optionally terminated by a new file nameprotected boolean run()
Command
public void build(CmdBuilder cb)
Command
protected String tit()
Proc
Copyright © 2005–2015 BaseX Team. All rights reserved.