Serializable
, Comparable<ZipEntryCompression>
public enum ZipEntryCompression extends Enum<ZipEntryCompression>
Enum Constant | Description |
---|---|
DEFLATED |
Contents are compressed using the 'deflate' algorithm
|
STORED |
Contents are not compressed
|
Modifier and Type | Method | Description |
---|---|---|
static ZipEntryCompression |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ZipEntryCompression[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipEntryCompression STORED
public static final ZipEntryCompression DEFLATED
public static ZipEntryCompression[] values()
for (ZipEntryCompression c : ZipEntryCompression.values()) System.out.println(c);
public static ZipEntryCompression 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 null