public static enum CaseFormat.Case extends java.lang.Enum<CaseFormat.Case>
| Enum Constant and Description |
|---|
SWAP
Swap case
StringUtils#swapCase(String) |
TO_LOWER
To lower case
StringUtils#lowerCase(String) |
TO_UPPER
To upper case
StringUtils#upperCase(String) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(java.lang.String string) |
static CaseFormat.Case |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CaseFormat.Case[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaseFormat.Case TO_LOWER
StringUtils#lowerCase(String)public static final CaseFormat.Case TO_UPPER
StringUtils#upperCase(String)public static final CaseFormat.Case SWAP
StringUtils#swapCase(String)public static CaseFormat.Case[] values()
for (CaseFormat.Case c : CaseFormat.Case.values()) System.out.println(c);
public static CaseFormat.Case valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String apply(java.lang.String string)
Copyright © 2018 SAP SE. All Rights Reserved.