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
-
-
Constructor Summary
Constructors Constructor Description ZipCommand(Path src, Path dst)
ZipCommand(Path src, Path dst, String prefix)
ZipCommand(Path src, Path dst, String prefix, PathFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec(CommandContext ctx)
String
toString()
String
toString(CommandContext ctx)
-
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
exec
public void exec(CommandContext ctx) throws IOException
- Specified by:
exec
in interfaceCommand
- Throws:
IOException
-
toString
public String toString(CommandContext ctx)
-
-