Class HtmlTextRenderer
- java.lang.Object
-
- org.apache.logging.log4j.core.pattern.HtmlTextRenderer
-
- All Implemented Interfaces:
TextRenderer
public final class HtmlTextRenderer extends Object implements TextRenderer
TODO Renders an input as HTML output.
-
-
Constructor Summary
Constructors Constructor Description HtmlTextRenderer(String[] formats)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
HtmlTextRenderer
public HtmlTextRenderer(String[] formats)
-
-
Method Detail
-
render
public void render(String input, StringBuilder output, String styleName)
Description copied from interface:TextRenderer
Renders input text to an output.- Specified by:
render
in interfaceTextRenderer
- Parameters:
input
- The inputoutput
- The outputstyleName
- The style name to use to render the input on the output.
-
render
public void render(StringBuilder input, StringBuilder output)
Description copied from interface:TextRenderer
Renders input text to an output.- Specified by:
render
in interfaceTextRenderer
- Parameters:
input
- The inputoutput
- The output
-
-