cpw.mods.fml.common

## Class ZipperUtil

- java.lang.Object
- - cpw.mods.fml.common.ZipperUtil

-     public class ZipperUtil
      extends java.lang.Object

  Copied from http://stackoverflow.com/questions/1399126/java-util-zip-recreating-directory-structure because the code looked very tidy and neat. Thanks, McDowell!

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZipperUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `backupWorld()`
    `static void` | `backupWorld(java.lang.String dirName)`
    `static void` | `backupWorld(java.lang.String dirName, java.lang.String saveName)` Deprecated.
    `static void` | `zip(java.io.File directory, java.io.File zipfile)`

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

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

- - ### Constructor Detail

    - #### ZipperUtil

          public ZipperUtil()

  - ### Method Detail

    - #### zip

          public static void zip(java.io.File directory,
                 java.io.File zipfile)
                          throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### backupWorld

          public static void backupWorld()
                                  throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### backupWorld

          @Deprecated
          public static void backupWorld(java.lang.String dirName,
                                    java.lang.String saveName)
                                  throws java.io.IOException

      Deprecated.
      Throws:
        `java.io.IOException`

    - #### backupWorld

          public static void backupWorld(java.lang.String dirName)
                                  throws java.io.IOException

      Throws:
        `java.io.IOException`