Interface TextRenderer
- All Known Implementing Classes:
HtmlTextRenderer
,JAnsiTextRenderer
,PlainTextRenderer
public interface TextRenderer
Renders an input to an output.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(StringBuilder input, StringBuilder output) Renders input text to an output.void
render
(String input, StringBuilder output, String styleName) Renders input text to an output.
-
Method Details
-
render
Renders input text to an output.- Parameters:
input
- The inputoutput
- The outputstyleName
- The style name to use to render the input on the output.
-
render
Renders input text to an output.- Parameters:
input
- The inputoutput
- The output
-