Enum Bzip2Decompressor.State
- java.lang.Object
-
- java.lang.Enum<Bzip2Decompressor.State>
-
- io.netty.handler.codec.compression.Bzip2Decompressor.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Bzip2Decompressor.State>
- Enclosing class:
- Bzip2Decompressor
private static enum Bzip2Decompressor.State extends java.lang.Enum<Bzip2Decompressor.State>
Current state of stream.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECODE_HUFFMAN_DATADECODED_HUFFMAN_DATAEOFINITINIT_BLOCKINIT_BLOCK_PARAMSRECEIVE_HUFFMAN_LENGTHRECEIVE_HUFFMAN_USED_BITMAPSRECEIVE_HUFFMAN_USED_MAPRECEIVE_SELECTORSRECEIVE_SELECTORS_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description privateState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Bzip2Decompressor.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Bzip2Decompressor.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 Bzip2Decompressor.State INIT
-
INIT_BLOCK
public static final Bzip2Decompressor.State INIT_BLOCK
-
INIT_BLOCK_PARAMS
public static final Bzip2Decompressor.State INIT_BLOCK_PARAMS
-
RECEIVE_HUFFMAN_USED_MAP
public static final Bzip2Decompressor.State RECEIVE_HUFFMAN_USED_MAP
-
RECEIVE_HUFFMAN_USED_BITMAPS
public static final Bzip2Decompressor.State RECEIVE_HUFFMAN_USED_BITMAPS
-
RECEIVE_SELECTORS_NUMBER
public static final Bzip2Decompressor.State RECEIVE_SELECTORS_NUMBER
-
RECEIVE_SELECTORS
public static final Bzip2Decompressor.State RECEIVE_SELECTORS
-
RECEIVE_HUFFMAN_LENGTH
public static final Bzip2Decompressor.State RECEIVE_HUFFMAN_LENGTH
-
DECODE_HUFFMAN_DATA
public static final Bzip2Decompressor.State DECODE_HUFFMAN_DATA
-
DECODED_HUFFMAN_DATA
public static final Bzip2Decompressor.State DECODED_HUFFMAN_DATA
-
EOF
public static final Bzip2Decompressor.State EOF
-
-
Method Detail
-
values
public static Bzip2Decompressor.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 (Bzip2Decompressor.State c : Bzip2Decompressor.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 Bzip2Decompressor.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
-
-