Interface StringRenderer<T>
-
- Type Parameters:
T
- the type of the object which needs to be rendered as a String
public interface StringRenderer<T>
StringRenderer which renders any object of typeT
to a String representation. Usually a StringRenderer is used when a specific representation of an object is needed and toString() cannot be overwritten or does not fulfill the requirements.
- Author:
- Markus von RĂ¼den
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
render(T input)
Transforms the input-object to a String.
-
-
-
Method Detail
-
render
java.lang.String render(T input)
Transforms the input-object to a String.- Parameters:
input
- The input object.- Returns:
- The formatted string of the input object.
-
-