public static enum CaseChangeSearchResultHandler.CaseChange extends Enum<CaseChangeSearchResultHandler.CaseChange>
Enum Constant and Description |
---|
LOWER
lower case.
|
NONE
no case change.
|
UPPER
upper case.
|
Modifier and Type | Method and Description |
---|---|
static String |
perform(CaseChangeSearchResultHandler.CaseChange cc,
String string)
This changes the supplied string based on the supplied case change.
|
static CaseChangeSearchResultHandler.CaseChange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaseChangeSearchResultHandler.CaseChange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaseChangeSearchResultHandler.CaseChange NONE
public static final CaseChangeSearchResultHandler.CaseChange LOWER
public static final CaseChangeSearchResultHandler.CaseChange UPPER
public static CaseChangeSearchResultHandler.CaseChange[] values()
for (CaseChangeSearchResultHandler.CaseChange c : CaseChangeSearchResultHandler.CaseChange.values()) System.out.println(c);
public static CaseChangeSearchResultHandler.CaseChange 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 String perform(CaseChangeSearchResultHandler.CaseChange cc, String string)
cc
- CaseChange
to performstring
- String
to modifyString
that has been changedCopyright © 2016. All rights reserved.