public static enum ChangeCase.ChangeCaseMode extends Enum<ChangeCase.ChangeCaseMode>
Enum Constant and Description |
---|
CAPITALIZE |
LOWER |
UPPER |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static ChangeCase.ChangeCaseMode |
typeOf(String mode)
Get ChangeCaseMode by mode
|
static ChangeCase.ChangeCaseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeCase.ChangeCaseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeCase.ChangeCaseMode UPPER
public static final ChangeCase.ChangeCaseMode LOWER
public static final ChangeCase.ChangeCaseMode CAPITALIZE
public static ChangeCase.ChangeCaseMode[] values()
for (ChangeCase.ChangeCaseMode c : ChangeCase.ChangeCaseMode.values()) System.out.println(c);
public static ChangeCase.ChangeCaseMode 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 String getName()
public static ChangeCase.ChangeCaseMode typeOf(String mode)
mode
- Change new case modeCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.