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 java.lang.Object
- implements Command
Zip the content of a directory.
A prefix may be specified.
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZipCommand
public ZipCommand(Path src,
Path dst)
ZipCommand
public ZipCommand(Path src,
Path dst,
java.lang.String prefix)
ZipCommand
public ZipCommand(Path src,
Path dst,
java.lang.String prefix,
PathFilter filter)
exec
public void exec(CommandContext ctx)
throws java.io.IOException
- Specified by:
exec
in interface Command
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(CommandContext ctx)
- Specified by:
toString
in interface Command
Copyright © 2010 Nuxeo SAS. All Rights Reserved.