Package sk.iway.iwcm

Class UnzipUtility

java.lang.Object
sk.iway.iwcm.UnzipUtility

public class UnzipUtility extends Object
This utility extracts files and directories of a standard zip file to a destination directory.
  • Constructor Details

    • UnzipUtility

      public UnzipUtility()
  • Method Details

    • unzip

      public static void unzip(File zipFile, File destDir) throws IOException
      Extracts a zip file specified by the zipFilePath to a directory specified by destDirectory (will be created if does not exists)
      Parameters:
      zipFile -
      destDir -
      Throws:
      IOException