org.nuxeo.runtime.deployment.preprocessor.install.commands
Class ZipCommand
java.lang.Object
org.nuxeo.runtime.deployment.preprocessor.install.commands.ZipCommand
- All Implemented Interfaces:
- Command
public class ZipCommand
- extends Object
- implements Command
Zip the content of a directory.
A prefix may be specified.
- Author:
- Bogdan Stefanescu
src
protected final Path src
dst
protected final Path dst
filter
protected final PathFilter filter
prefix
protected final String prefix
ZipCommand
public ZipCommand(Path src,
Path dst)
ZipCommand
public ZipCommand(Path src,
Path dst,
String prefix)
ZipCommand
public ZipCommand(Path src,
Path dst,
String prefix,
PathFilter filter)
exec
public void exec(CommandContext ctx)
throws IOException
- Specified by:
exec
in interface Command
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
toString
public String toString(CommandContext ctx)
- Specified by:
toString
in interface Command
Copyright © 2010 Nuxeo SAS. All Rights Reserved.