How to Convert a String to an Enum in Java | CodeTrail