org.at4j.zip.prog
Class Zip
java.lang.Object
org.at4j.support.prog.AbstractProgram
org.at4j.zip.prog.Zip
public final class Zip
- extends AbstractProgram
This runnable class emulates the zip
command. It understands a subset
of zip
's command line arguments.
Usage:
java -cp [classpath] org.at4j.zip.prog.Zip [options] file file[s]
Where:
classpath - Should include the at4j, bzip, lzma and entityfs-core Jars.
options - Command options. See below.
file - The name and path of the Zip file to create.
file[s] - The files and directories to add to the Zip archive. If the
-r option is used, directories are added recursively.
Options:
-r - Add directories recursively.
--timing - After building the archive, print out how long it took.
- Since:
- 1.0
- Author:
- Karl Gustafsson
Constructor Summary |
Zip()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Zip
public Zip()
main
public static void main(String[] args)