public enum Casing extends Enum<Casing>
Enum Constant and Description |
---|
camelCase |
lowercase |
PascalCase |
snake_case |
UPPERCASE |
Modifier and Type | Method and Description |
---|---|
String |
convertString(String str) |
static Casing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Casing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Casing camelCase
public static final Casing snake_case
public static final Casing PascalCase
public static final Casing lowercase
public static final Casing UPPERCASE
public static Casing[] values()
for (Casing c : Casing.values()) System.out.println(c);
public static Casing 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 nullCopyright © 2015–2024 tr7zw. All rights reserved.