com.partnersoft.tools
Class Zipper
java.lang.Object
com.partnersoft.tools.Zipper
public class Zipper
- extends java.lang.Object
Makes a zip file of the given directory. Simple enough.
- Author:
- Paul Reavis
Copyright 2000 Partner Software, Inc.
|
Method Summary |
static void |
main(java.lang.String[] argv)
|
static void |
zip(java.io.File zipFile,
java.io.File root,
java.util.List inputFiles)
Zips up the given list of files, relative to the given root directory. |
static void |
zip(java.io.File zipFile,
java.util.List inputFiles)
Zips up the given list of files, relative to the root (installation) directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Zipper
public Zipper()
main
public static void main(java.lang.String[] argv)
zip
public static void zip(java.io.File zipFile,
java.util.List inputFiles)
throws java.io.IOException
- Zips up the given list of files, relative to the root (installation) directory.
- Parameters:
zipFile - file to createinputFiles - list of files to add (including contents)
- Throws:
java.io.IOException
zip
public static void zip(java.io.File zipFile,
java.io.File root,
java.util.List inputFiles)
throws java.io.IOException
- Zips up the given list of files, relative to the given root directory.
- Parameters:
zipFile - file to createroot - root directory; becomes root of zipfile directory structureinputFiles - list of files to add (including directory contents)
- Throws:
java.io.IOException