-
- Type Parameters:
T- the type of the converter
- All Known Subinterfaces:
StringConverter<T>,TypedStringConverter<T>
public interface ToStringConverter<T>Interface defining conversion to aString.ToStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringconvertToString(T object)Converts the specified object to aString.
-
-
-
Method Detail
-
convertToString
java.lang.String convertToString(T object)
Converts the specified object to aString.- Parameters:
object- the object to convert, not null- Returns:
- the converted string, may be null but generally not
-
-