public static enum ZipArchiveEntry.CommentSource extends Enum<ZipArchiveEntry.CommentSource>
| Enum Constant and Description | 
|---|
| COMMENTThe comment has been read from the archive using the encoding
 of the archive specified when creating the  ZipArchiveInputStreamorZipFile(defaults to the
 platform's default encoding). | 
| UNICODE_EXTRA_FIELDThe comment has been read from an  Unicode Extra Field. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ZipArchiveEntry.CommentSource | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ZipArchiveEntry.CommentSource[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ZipArchiveEntry.CommentSource COMMENT
ZipArchiveInputStream or ZipFile (defaults to the
 platform's default encoding).public static final ZipArchiveEntry.CommentSource UNICODE_EXTRA_FIELD
Unicode Extra Field.public static ZipArchiveEntry.CommentSource[] values()
for (ZipArchiveEntry.CommentSource c : ZipArchiveEntry.CommentSource.values()) System.out.println(c);
public static ZipArchiveEntry.CommentSource 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.