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 java.lang.Object
enum that represents the possible policies for creating Unicode
extra fields.
-
Field Summary
Fields Modifier and Type Field Description static ZipOutputStream.UnicodeExtraFieldPolicy
ALWAYS
Always create Unicode extra fields.static ZipOutputStream.UnicodeExtraFieldPolicy
NEVER
Never create Unicode extra fields.static 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 java.lang.String
toString()
-
Field Details
-
ALWAYS
Always create Unicode extra fields. -
NEVER
Never create Unicode extra fields. -
NOT_ENCODEABLE
Create Unicode extra fields for filenames that cannot be encoded using the specified encoding.
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-