Enum Bzip2Decoder.State
- java.lang.Object
-
- java.lang.Enum<Bzip2Decoder.State>
-
- io.netty.handler.codec.compression.Bzip2Decoder.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Bzip2Decoder.State>
- Enclosing class:
- Bzip2Decoder
private static enum Bzip2Decoder.State extends java.lang.Enum<Bzip2Decoder.State>
Current state of stream.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECODE_HUFFMAN_DATA
EOF
INIT
INIT_BLOCK
INIT_BLOCK_PARAMS
RECEIVE_HUFFMAN_LENGTH
RECEIVE_HUFFMAN_USED_BITMAPS
RECEIVE_HUFFMAN_USED_MAP
RECEIVE_SELECTORS
RECEIVE_SELECTORS_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Bzip2Decoder.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Bzip2Decoder.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final Bzip2Decoder.State INIT
-
INIT_BLOCK
public static final Bzip2Decoder.State INIT_BLOCK
-
INIT_BLOCK_PARAMS
public static final Bzip2Decoder.State INIT_BLOCK_PARAMS
-
RECEIVE_HUFFMAN_USED_MAP
public static final Bzip2Decoder.State RECEIVE_HUFFMAN_USED_MAP
-
RECEIVE_HUFFMAN_USED_BITMAPS
public static final Bzip2Decoder.State RECEIVE_HUFFMAN_USED_BITMAPS
-
RECEIVE_SELECTORS_NUMBER
public static final Bzip2Decoder.State RECEIVE_SELECTORS_NUMBER
-
RECEIVE_SELECTORS
public static final Bzip2Decoder.State RECEIVE_SELECTORS
-
RECEIVE_HUFFMAN_LENGTH
public static final Bzip2Decoder.State RECEIVE_HUFFMAN_LENGTH
-
DECODE_HUFFMAN_DATA
public static final Bzip2Decoder.State DECODE_HUFFMAN_DATA
-
EOF
public static final Bzip2Decoder.State EOF
-
-
Method Detail
-
values
public static Bzip2Decoder.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Bzip2Decoder.State c : Bzip2Decoder.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Bzip2Decoder.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-