ZipUtil (gCube Templates Portlet 4.4.0-SNAPSHOT API)
Date: 2013-07-16

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`ZipUtil()`

Method Summary
`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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All Rights Reserved.