ZipUtil (gCube Templates Portlet 4.8.0-SNAPSHOT API)
Date: 2015-07-03

org.gcube.portlets.user.templates.server

## Class ZipUtil

- java.lang.Object
- - org.gcube.portlets.user.templates.server.ZipUtil

-     public class ZipUtil
      extends Object

  Author:
    massi

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZipUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `unzipArchive(File archive, File outputDir)`
    `static void` | `zipDir(String zipFileName, String dir)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ZipUtil

          public ZipUtil()

  - ### Method Detail

    - #### zipDir

          public static void zipDir(String zipFileName,
                    String dir)
                             throws IOException

      Parameters:
        `zipFileName` - zipFileName
        `dir` - the dir to compress
      Throws:
        `IOException`

    - #### unzipArchive

          public static void unzipArchive(File archive,
                          File outputDir)

Copyright © 2015. All Rights Reserved.