Package org.apache.commons.compress.archivers.zip

# Class ZipArchiveOutputStream.UnicodeExtraFieldPolicy

java.lang.Object
org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy

Enclosing class:
  ZipArchiveOutputStream

public static final class ZipArchiveOutputStream.UnicodeExtraFieldPolicy extends Object
enum that represents the possible policies for creating Unicode extra fields.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final ZipArchiveOutputStream.UnicodeExtraFieldPolicy`
  `ALWAYS`
  Always create Unicode extra fields.
  `static final ZipArchiveOutputStream.UnicodeExtraFieldPolicy`
  `NEVER`
  Never create Unicode extra fields.
  `static final ZipArchiveOutputStream.UnicodeExtraFieldPolicy`
  `NOT_ENCODEABLE`
  Creates Unicode extra fields for file names that cannot be encoded using the specified encoding.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`

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

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

- ## Field Details

  - ### ALWAYS

    public static final ZipArchiveOutputStream.UnicodeExtraFieldPolicy ALWAYS
    Always create Unicode extra fields.

  - ### NEVER

    public static final ZipArchiveOutputStream.UnicodeExtraFieldPolicy NEVER
    Never create Unicode extra fields.

  - ### NOT_ENCODEABLE

    public static final ZipArchiveOutputStream.UnicodeExtraFieldPolicy NOT_ENCODEABLE
    Creates Unicode extra fields for file names that cannot be encoded using the specified encoding.

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`