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 type T 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 Detail

      • render

        String render​(T input)
        Transforms the input-object to a String.
        Parameters:
        input - The input object.
        Returns:
        The formatted string of the input object.