public static enum FormatterString.Mode extends Enum<FormatterString.Mode>
| Enum Constant and Description |
|---|
BASIC
Aucun formattage.
|
LOWER
Met en minuscules toutes les lettres.
|
UPPER
Met en majuscules toutes les lettres.
|
UPPER_FIRST
Met en majuscules les premières lettres de chaque mot et en minuscules les suivantes
Les séparateurs utilisés sont l'espace, "_" et "-.
|
| Modifier and Type | Method and Description |
|---|---|
static FormatterString.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatterString.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatterString.Mode BASIC
public static final FormatterString.Mode UPPER
public static final FormatterString.Mode LOWER
public static final FormatterString.Mode UPPER_FIRST
public static FormatterString.Mode[] values()
for (FormatterString.Mode c : FormatterString.Mode.values()) System.out.println(c);
public static FormatterString.Mode 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 © 2019. All Rights Reserved.