T
- the type of the converterpublic interface ToStringConverter<T>
String
.
ToStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convertToString(T object)
Converts the specified object to a
String . |
java.lang.String convertToString(T object)
String
.object
- the object to convert, not null