public class MoveCommand extends Object implements Command
| Constructor and Description |
|---|
MoveCommand(Path src,
Path dst)
Constructor for copy command.
|
MoveCommand(Path src,
Path dst,
PathFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
exec(CommandContext ctx) |
String |
toString() |
String |
toString(CommandContext ctx) |
public MoveCommand(Path src, Path dst)
src - the path relative to the root container. The path will be made absolute if not alreadydst - the path relative to teh root container of the destination. If it is ending with a slash '/' the
destination path is treated as a directorypublic MoveCommand(Path src, Path dst, PathFilter filter)
public void exec(CommandContext ctx) throws IOException
exec in interface CommandIOExceptionpublic String toString(CommandContext ctx)
Copyright © 2015 Nuxeo SA. All rights reserved.