public static enum Match.CaseConversion extends Enum<Match.CaseConversion>
| Enum Constant and Description |
|---|
ALLLOWER |
ALLUPPER |
NONE |
PRESERVE |
STARTLOWER |
STARTUPPER |
| Modifier and Type | Method and Description |
|---|---|
static Match.CaseConversion |
toCase(String str)
Converts string to the constant enum.
|
static Match.CaseConversion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Match.CaseConversion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Match.CaseConversion NONE
public static final Match.CaseConversion STARTLOWER
public static final Match.CaseConversion STARTUPPER
public static final Match.CaseConversion ALLLOWER
public static final Match.CaseConversion ALLUPPER
public static final Match.CaseConversion PRESERVE
public static Match.CaseConversion[] values()
for (Match.CaseConversion c : Match.CaseConversion.values()) System.out.println(c);
public static Match.CaseConversion 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 Match.CaseConversion toCase(String str)
str - String value to be converted.Copyright © 2005-2011 Daniel Naber