public enum ZipCompressionLevel extends Enum<ZipCompressionLevel>
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ZipCompressionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZipCompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipCompressionLevel NONE
public static final ZipCompressionLevel MIN
public static final ZipCompressionLevel DEFAULT
public static final ZipCompressionLevel MAX
public static ZipCompressionLevel[] values()
for (ZipCompressionLevel c : ZipCompressionLevel.values()) System.out.println(c);
public static ZipCompressionLevel 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 nullpublic int getValue()