Class HTMLUtils


  • public final class HTMLUtils
    extends java.lang.Object
    Helpers for building HTML reports.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String escapeText​(java.lang.String text)
      Escape input text so that characters are not misinterpreted by HTML parsers.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • escapeText

        public static java.lang.String escapeText​(java.lang.String text)
        Escape input text so that characters are not misinterpreted by HTML parsers.
        Parameters:
        text - the string to be protected
        Returns:
        the escaped text