Class ReportHelper


  • public class ReportHelper
    extends Object
    • Constructor Detail

      • ReportHelper

        public ReportHelper()
    • Method Detail

      • escapeHtmlId

        public static String escapeHtmlId​(String rawHtmlId)
        Escape illegal HTML element id characters, such as a dot.

        This escape function guarantees that 2 distinct strings will result into 2 distinct escape strings (presuming that both have been escaped by this method).

        Parameters:
        rawHtmlId - never null
        Returns:
        never null
      • capitalize

        public static String capitalize​(String s)