public enum Capitalization extends Enum<Capitalization>
Enum Constant and Description |
---|
CAPITALIZE |
LOWERCASE |
UNTOUCHED |
UPPERCASE |
Modifier and Type | Method and Description |
---|---|
static Capitalization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capitalization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capitalization LOWERCASE
public static final Capitalization UPPERCASE
public static final Capitalization CAPITALIZE
public static final Capitalization UNTOUCHED
public static Capitalization[] values()
for (Capitalization c : Capitalization.values()) System.out.println(c);
public static Capitalization 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 null