public class EnumHelper extends Object
| Constructor and Description |
|---|
EnumHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
fromString(String value,
Class<E> enumType) |
static String |
toString(Enum<?> value,
boolean camlCase,
boolean deCapitalze) |
public static String toString(Enum<?> value, boolean camlCase, boolean deCapitalze)
value - the Enum value.camlCase - - true for converting the string representation to
camlCase, false otherwise.deCapitalze - - true to ensure the first character of the string
representation is lower case, false otherwise.string representation as specified via the given options.Copyright © 2001–2019 mmm-Team. All rights reserved.