public static enum Compression.ZAlgo extends Enum<Compression.ZAlgo>
| Enum Constant and Description |
|---|
GLOBAL_SETTING |
L4 |
LZMA |
OLD |
UNDEFINED |
ZLIB |
| Modifier and Type | Method and Description |
|---|---|
static Compression.ZAlgo |
getAlgo(byte h1,
byte h2) |
static Compression.ZAlgo |
getAlgo(int fCompress) |
static int |
getLevel(int fCompress) |
static Compression.ZAlgo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compression.ZAlgo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compression.ZAlgo GLOBAL_SETTING
public static final Compression.ZAlgo ZLIB
public static final Compression.ZAlgo LZMA
public static final Compression.ZAlgo OLD
public static final Compression.ZAlgo L4
public static final Compression.ZAlgo UNDEFINED
public static Compression.ZAlgo[] values()
for (Compression.ZAlgo c : Compression.ZAlgo.values()) System.out.println(c);
public static Compression.ZAlgo 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 int getLevel(int fCompress)
public static Compression.ZAlgo getAlgo(int fCompress)
public static Compression.ZAlgo getAlgo(byte h1, byte h2)
Copyright © 2019. All rights reserved.