public static enum ZipArchiveEntry.NameSource extends Enum<ZipArchiveEntry.NameSource>
| Enum Constant and Description | 
|---|
| NAMEThe name has been read from the archive using the encoding
 of the archive specified when creating the  ZipArchiveInputStreamorZipFile(defaults to the
 platform's default encoding). | 
| NAME_WITH_EFS_FLAGThe 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_FIELDThe name has been read from an  Unicode Extra Field. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZipArchiveEntry.NameSource | valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 The Apache Software Foundation. All rights reserved.