public static enum CaseFormat.CaseFormatMode extends Enum<CaseFormat.CaseFormatMode>
| Enum Constant and Description |
|---|
KEBAB_CASE |
LISP_CASE |
LOWER_CAMEL_CASE |
LOWER_HYPHEN |
LOWER_UNDERSCORE |
SNAKE_CASE |
SPINAL_CASE |
TRAIN_CASE |
UPPER_CAMEL_CASE |
UPPER_UNDERSCORE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static CaseFormat.CaseFormatMode |
typeOf(String mode)
Get CamelCaseMode by mode
|
static CaseFormat.CaseFormatMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaseFormat.CaseFormatMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaseFormat.CaseFormatMode UPPER_CAMEL_CASE
public static final CaseFormat.CaseFormatMode LOWER_CAMEL_CASE
public static final CaseFormat.CaseFormatMode SNAKE_CASE
public static final CaseFormat.CaseFormatMode LISP_CASE
public static final CaseFormat.CaseFormatMode KEBAB_CASE
public static final CaseFormat.CaseFormatMode SPINAL_CASE
public static final CaseFormat.CaseFormatMode LOWER_HYPHEN
public static final CaseFormat.CaseFormatMode LOWER_UNDERSCORE
public static final CaseFormat.CaseFormatMode UPPER_UNDERSCORE
public static final CaseFormat.CaseFormatMode TRAIN_CASE
public static CaseFormat.CaseFormatMode[] values()
for (CaseFormat.CaseFormatMode c : CaseFormat.CaseFormatMode.values()) System.out.println(c);
public static CaseFormat.CaseFormatMode 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 CaseFormat.CaseFormatMode typeOf(String mode)
mode - Copyright © 2018. All rights reserved.