Interface TypeConverter<T>

    • Method Detail

      • convert

        T convert​(java.lang.String s)
           throws java.lang.Exception
        Converts a String to a given type.
        Parameters:
        s - the String to convert. Cannot be null.
        Returns:
        the converted object.
        Throws:
        java.lang.Exception - thrown when a conversion error occurs