private static enum Bzip2Encoder.State extends java.lang.Enum<Bzip2Encoder.State>
Enum Constant and Description |
---|
CLOSE_BLOCK |
INIT |
INIT_BLOCK |
WRITE_DATA |
Modifier and Type | Method and Description |
---|---|
static Bzip2Encoder.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bzip2Encoder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bzip2Encoder.State INIT
public static final Bzip2Encoder.State INIT_BLOCK
public static final Bzip2Encoder.State WRITE_DATA
public static final Bzip2Encoder.State CLOSE_BLOCK
public static Bzip2Encoder.State[] values()
for (Bzip2Encoder.State c : Bzip2Encoder.State.values()) System.out.println(c);
public static Bzip2Encoder.State 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