public static enum ZipArchiveEntry.CommentSource extends java.lang.Enum<ZipArchiveEntry.CommentSource>
| Enum Constant and Description |
|---|
COMMENT
The comment 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). |
UNICODE_EXTRA_FIELD
The comment has been read from an
Unicode Extra Field. |
| Modifier and Type | Method and Description |
|---|---|
static ZipArchiveEntry.CommentSource |
valueOf(java.lang.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(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 nullCopyright © 2010 - 2023 Adobe. All Rights Reserved