public final class Rename extends ACreate
| Constructor and Description |
|---|
Rename(java.lang.String source,
java.lang.String target)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
static java.lang.String |
target(Data data,
int pre,
java.lang.String src,
java.lang.String trg)
Generates a target path for the specified document.
|
build, cache, create, drop, newData, pinned, startUpdate, stoppable, stopUpdate, supportsProgbuild, close, error, execute, execute, getOption, getOption, info, info, pinned, result, run, setInput, setInput, toString, updated, updatingpublic Rename(java.lang.String source,
java.lang.String target)
source - source pathtarget - target pathprotected boolean run()
Commandpublic static java.lang.String target(Data data, int pre, java.lang.String src, java.lang.String trg)
data - data referencepre - pre value of the documentsrc - source pathtrg - target path