Interface TextRenderer
-
- All Known Implementing Classes:
HtmlTextRenderer
,JAnsiTextRenderer
,PlainTextRenderer
public interface TextRenderer
Renders an input to an output.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
render
void render(String input, StringBuilder output, String styleName)
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
void render(StringBuilder input, StringBuilder output)
Renders input text to an output.- Parameters:
input
- The inputoutput
- The output
-
-