public static enum ZipException.Type extends Enum<ZipException.Type>
Enum Constant and Description |
---|
CHECKSUM_MISMATCH |
TASK_CANCELLED_EXCEPTION |
UNKNOWN |
UNKNOWN_COMPRESSION_METHOD |
WRONG_PASSWORD |
Modifier and Type | Method and Description |
---|---|
static ZipException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZipException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipException.Type WRONG_PASSWORD
public static final ZipException.Type TASK_CANCELLED_EXCEPTION
public static final ZipException.Type CHECKSUM_MISMATCH
public static final ZipException.Type UNKNOWN_COMPRESSION_METHOD
public static final ZipException.Type UNKNOWN
public static ZipException.Type[] values()
for (ZipException.Type c : ZipException.Type.values()) System.out.println(c);
public static ZipException.Type 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 © 2019. All rights reserved.