Interface StringConverter<T>

  • All Known Implementing Classes:
    ToStringConverter

    public interface StringConverter<T>
    Specification for a converter rendering a T object as a String.
    Since:
    2.0
    • Method Detail

      • convert

        java.lang.String convert​(T toConvert)
        Converts the supplied T object to a String.
        Parameters:
        toConvert - The T object to convert to a string. Not null.
        Returns:
        The string form of the toConvert object.