# ZipEncodingHelper (Apache Commons Compress 1.13 API)

org.apache.commons.compress.archivers.zip

## Class ZipEncodingHelper

- java.lang.Object
- - org.apache.commons.compress.archivers.zip.ZipEncodingHelper

-     public abstract class ZipEncodingHelper
      extends Object

  Static helper functions for robustly encoding filenames in zip files.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZipEncodingHelper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ZipEncoding` | `getZipEncoding(String name)` Instantiates a zip encoding.

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

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

- - ### Constructor Detail

    - #### ZipEncodingHelper

          public ZipEncodingHelper()

  - ### Method Detail

    - #### getZipEncoding

          public static ZipEncoding getZipEncoding(String name)

      Instantiates a zip encoding.
      Parameters:
        `name` - The name of the zip encoding. Specify `null` for the platform's default encoding.
      Returns:
        A zip encoding for the given encoding name.

Copyright © 2016 The Apache Software Foundation. All rights reserved.