public static enum ZipArchiveEntry.NameSource extends java.lang.Enum<ZipArchiveEntry.NameSource>
Enum Constant and Description |
---|
NAME
The name has been read from the archive using the encoding
of the archive specified when creating the
ZipArchiveInputStream or ZipFile (defaults to the
platform's default encoding). |
NAME_WITH_EFS_FLAG
The name has been read from the archive and the archive
specified the EFS flag which indicates the name has been
encoded as UTF-8.
|
UNICODE_EXTRA_FIELD
The name has been read from an
Unicode Extra Field . |
Modifier and Type | Method and Description |
---|---|
static ZipArchiveEntry.NameSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZipArchiveEntry.NameSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipArchiveEntry.NameSource NAME
ZipArchiveInputStream
or ZipFile
(defaults to the
platform's default encoding).public static final ZipArchiveEntry.NameSource NAME_WITH_EFS_FLAG
public static final ZipArchiveEntry.NameSource UNICODE_EXTRA_FIELD
Unicode Extra Field
.public static ZipArchiveEntry.NameSource[] values()
for (ZipArchiveEntry.NameSource c : ZipArchiveEntry.NameSource.values()) System.out.println(c);
public static ZipArchiveEntry.NameSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"