Class HtmlCleanerService


  • public final class HtmlCleanerService
    extends Object
    This class provides management methods for cleaner
    • Method Detail

      • clean

        public static String clean​(String strSource)
        Clean HTML code and converts it to XHTML
        Parameters:
        strSource - The input string to clean
        Returns:
        The cleaned string
      • text

        public static String text​(String strSource)
        Clean HTML code and converts it to text
        Parameters:
        strSource - The input string to clean
        Returns:
        The cleaned string