public enum ConverterType extends Enum<ConverterType>
Converter
and HeaderConverter
.Modifier and Type | Method and Description |
---|---|
String |
getName() |
static ConverterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConverterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static ConverterType |
withName(String name)
Find the ConverterType with the given name, using a case-insensitive match.
|
public static final ConverterType KEY
public static final ConverterType VALUE
public static final ConverterType HEADER
public static ConverterType[] values()
for (ConverterType c : ConverterType.values()) System.out.println(c);
public static ConverterType 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 static ConverterType withName(String name)
name
- the name of the converter type; may be nullpublic String getName()