public enum StateType extends Enum<StateType>
Enum Constant and Description |
---|
GZIP
GZip compression.
|
PLAIN
Plain text in UTF-8
|
ZIP0
Zip compression with level 0.
|
ZIP1
Zip compression with level 1.
|
ZIP2
Zip compression with level 2.
|
ZIP3
Zip compression with level 3.
|
ZIP4
Zip compression with level 4.
|
ZIP5
Zip compression with level 5.
|
ZIP6
Zip compression with level 6.
|
ZIP7
Zip compression with level 7.
|
ZIP8
Zip compression with level 8.
|
ZIP9
Zip compression with level 9.
|
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Compression level.
|
static StateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateType PLAIN
public static final StateType ZIP0
public static final StateType ZIP1
public static final StateType ZIP2
public static final StateType ZIP3
public static final StateType ZIP4
public static final StateType ZIP5
public static final StateType ZIP6
public static final StateType ZIP7
public static final StateType ZIP8
public static final StateType ZIP9
public static final StateType GZIP
public static StateType[] values()
for (StateType c : StateType.values()) System.out.println(c);
public static StateType 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 int getLevel()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.