Package org.apache.tools.zip

# Class ZipOutputStream.UnicodeExtraFieldPolicy

java.lang.Object
org.apache.tools.zip.ZipOutputStream.UnicodeExtraFieldPolicy

Enclosing class:
  `ZipOutputStream`

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

## Field Summary

Fields
Modifier and Type
Field
Description
`static final ZipOutputStream.UnicodeExtraFieldPolicy`
`ALWAYS`
Always create Unicode extra fields.
`static final ZipOutputStream.UnicodeExtraFieldPolicy`
`NEVER`
Never create Unicode extra fields.
`static final ZipOutputStream.UnicodeExtraFieldPolicy`
`NOT_ENCODEABLE`
Create Unicode extra fields for filenames 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 ZipOutputStream.UnicodeExtraFieldPolicy ALWAYS
Always create Unicode extra fields.

### NEVER

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

### NOT_ENCODEABLE

public static final ZipOutputStream.UnicodeExtraFieldPolicy NOT_ENCODEABLE
Create Unicode extra fields for filenames that cannot be encoded using the specified encoding.

## Method Details

### toString

public String toString()

Overrides:
  `toString` in class `Object`