web/play-java-forms/src/main/java/play/data/format/Formatters.java
public <T> T parse(String text, Class<T> clazz) {
    return conversion.convert(text, clazz);
  }
public <T> T parse(String text, Class<T> clazz) {
    return conversion.convert(text, clazz);
  }
Parses this string as instance of the given class.

@param text the text to parse
@param clazz class representing the required type
@param <T> the type to parse out of the text
@return the parsed value