public static enum ZipException.Type extends Enum<ZipException.Type>
| Enum Constant and Description |
|---|
CHECKSUM_MISMATCH |
FILE_NOT_FOUND |
TASK_CANCELLED_EXCEPTION |
UNKNOWN |
UNKNOWN_COMPRESSION_METHOD |
UNSUPPORTED_ENCRYPTION |
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 FILE_NOT_FOUND
public static final ZipException.Type UNSUPPORTED_ENCRYPTION
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 © 2021. All rights reserved.