Java Utililty Methods Enum Parse

List of utility methods to do Enum Parse

Description

The list of methods to do Enum Parse are organized into topic(s).

Method

TtryParseEnum(Class c, String string)
Tries to parse a string into Enum, if unsuccessful returns null.
if (string != null) {
    try {
        return Enum.valueOf(c, string);
    } catch (IllegalArgumentException ex) {
return null;
TtryParseEnum(Object ob, Class enumType)
try Parse Enum
return tryParseEnum(ob, enumType, null);