JEphem site
jephem API
Build classes

tig
Class Zip

java.lang.Object
  |
  +--tig.Zip
All Implemented Interfaces:
GeneralConstants

public abstract class Zip
extends java.lang.Object
implements GeneralConstants

Contains methods used to zip and unzip a set of files.
Written from code found in "Thinking in java", 2nd edition.


Field Summary
 
Fields inherited from interface tig.GeneralConstants
BLANK, FS, LS, NO_SPECIF, SPACE
 
Constructor Summary
Zip()
           
 
Method Summary
static void unzipFile(java.lang.String zipFile, java.lang.String destinationDir)
          Unzips the file to the destination directory.
static void zipFiles(java.lang.String outputFile, java.lang.String[] inputFiles)
          Zips the input files to a single Zip archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zip

public Zip()
Method Detail

zipFiles

public static void zipFiles(java.lang.String outputFile,
                            java.lang.String[] inputFiles)
                     throws java.io.IOException
Zips the input files to a single Zip archive.

java.io.IOException

unzipFile

public static void unzipFile(java.lang.String zipFile,
                             java.lang.String destinationDir)
                      throws java.io.IOException
Unzips the file to the destination directory.

java.io.IOException

JEphem site
jephem API
Build classes