Class HtmlScrubber


  • public class HtmlScrubber
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlScrubber()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String scrubHtml​(java.lang.String input, java.lang.String newLineReplacement)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NON_BREAKING_SPACE_STRING

        public static java.lang.String NON_BREAKING_SPACE_STRING
      • NON_BREAKING_SPACE_CHAR

        public static java.lang.Character NON_BREAKING_SPACE_CHAR
    • Constructor Detail

      • HtmlScrubber

        public HtmlScrubber()
    • Method Detail

      • scrubHtml

        public static java.lang.String scrubHtml​(java.lang.String input,
                                                 java.lang.String newLineReplacement)