Enum Class ChunkExtension.State
- All Implemented Interfaces:
Serializable, Comparable<ChunkExtension.State>, Constable
- Enclosing class:
ChunkExtension
Parsing states for chunk extension.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt the carriage return.At the equals sign between name and value.Reading the extension name.State after the extension name.State after the extension value.State before the extension name.Reading a quoted extension value.Reading the extension value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkExtension.StateReturns the enum constant of this class with the specified name.static ChunkExtension.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRE_NAME
State before the extension name. -
NAME
Reading the extension name. -
POST_NAME
State after the extension name. -
EQUALS
At the equals sign between name and value. -
VALUE
Reading the extension value. -
QUOTED_VALUE
Reading a quoted extension value. -
POST_VALUE
State after the extension value. -
CR
At the carriage return.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-