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 Details

    • HtmlTextRenderer

      public HtmlTextRenderer(String[] formats)
  • Method Details

    • 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 interface TextRenderer
      Parameters:
      input - The input
      output - The output
      styleName - 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 interface TextRenderer
      Parameters:
      input - The input
      output - The output