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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
convert(T toConvert)
Converts the supplied T object to a String.
-
-
-
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. Notnull
.- Returns:
- The string form of the toConvert object.
-
-