java.io.Serializable, java.lang.Comparable<ZipEntryCompression>public enum ZipEntryCompression extends java.lang.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(java.lang.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(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 null