com.h3c.util

## Class ZipUtils

- java.lang.Object
- - com.h3c.util.ZipUtils

-     public final class ZipUtils
      extends Object

  Set of utilities to produce ZIP files.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `write(File file, ZipOutputStream outputStream)` Writes the given file to the given ZIP output.

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

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

- - ### Method Detail

    - #### write

          public static void write(File file,
                   ZipOutputStream outputStream)
                            throws NullPointerException,
                                   IOException

      Writes the given file to the given ZIP output.
      Parameters:
        `file` - file to write
        `outputStream` - stream to write the file into
      Throws:
        `NullPointerException` - if either file or outputStream is null
        `IOException` - if an I/O error has occurred

Copyright © 2014. All Rights Reserved.