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 Summary

    Modifier and Type
    Method
    Description
    convert(T toConvert)
    Converts the supplied T object to a String.
  • Method Details

    • convert

      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.