public enum ZipCompression extends java.lang.Enum<ZipCompression>
| Enum Constant and Description |
|---|
DEFLATED
The entry should be
ZipEntry.DEFLATED in the archive. |
STORED
The entry should be
ZipEntry.STORED in the archive. |
| Modifier and Type | Method and Description |
|---|---|
static ZipCompression |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZipCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipCompression STORED
ZipEntry.STORED in the archive.public static final ZipCompression DEFLATED
ZipEntry.DEFLATED in the archive.public static ZipCompression[] values()
for (ZipCompression c : ZipCompression.values()) System.out.println(c);
public static ZipCompression 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