public class ZipCommand extends Object implements Command
A prefix may be specified.
Modifier and Type | Field and Description |
---|---|
protected Path |
dst |
protected PathFilter |
filter |
protected String |
prefix |
protected Path |
src |
Constructor and Description |
---|
ZipCommand(Path src,
Path dst) |
ZipCommand(Path src,
Path dst,
String prefix) |
ZipCommand(Path src,
Path dst,
String prefix,
PathFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
exec(CommandContext ctx) |
String |
toString() |
String |
toString(CommandContext ctx) |
protected final PathFilter filter
public ZipCommand(Path src, Path dst)
public ZipCommand(Path src, Path dst, String prefix)
public ZipCommand(Path src, Path dst, String prefix, PathFilter filter)
public void exec(CommandContext ctx) throws IOException
exec
in interface Command
IOException
public String toString(CommandContext ctx)
Copyright © 2018 Nuxeo. All rights reserved.