public static enum ZipFileEntry.Compression extends Enum<ZipFileEntry.Compression>
| Modifier and Type | Method and Description |
|---|---|
static ZipFileEntry.Compression |
fromValue(int value) |
short |
getMinVersion() |
short |
getValue() |
static ZipFileEntry.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZipFileEntry.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipFileEntry.Compression STORED
public static final ZipFileEntry.Compression DEFLATED
public static ZipFileEntry.Compression[] values()
for (ZipFileEntry.Compression c : ZipFileEntry.Compression.values()) System.out.println(c);
public static ZipFileEntry.Compression 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 static ZipFileEntry.Compression fromValue(int value)
public short getValue()
public short getMinVersion()
Copyright © 2012–2022. All rights reserved.