Documentation of 'tig.Zip' Java class
Zip
tig

Class 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.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Zip() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, 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.
        Throws:
        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.
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.