Class TextUtil


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

      Constructors 
      Constructor Description
      TextUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String cleanText​(java.lang.String html)  
      static java.lang.String encodeTextForHTML​(java.lang.String s)  
      static java.lang.String fromHtmlToRawText​(java.lang.String orig)  
      static java.lang.String fromHtmlToRawText​(java.lang.String orig, boolean allowJavaCharacters)  
      static boolean hasWordText​(java.lang.String html)  
      static java.lang.String replaceBreakForExcel​(java.lang.String str)  
      • Methods inherited from class java.lang.Object

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

      • TextUtil

        public TextUtil()
    • Method Detail

      • replaceBreakForExcel

        public static java.lang.String replaceBreakForExcel​(java.lang.String str)
      • encodeTextForHTML

        public static java.lang.String encodeTextForHTML​(java.lang.String s)
      • cleanText

        public static java.lang.String cleanText​(java.lang.String html)
      • hasWordText

        public static boolean hasWordText​(java.lang.String html)
      • fromHtmlToRawText

        public static java.lang.String fromHtmlToRawText​(java.lang.String orig)
      • fromHtmlToRawText

        public static java.lang.String fromHtmlToRawText​(java.lang.String orig,
                                                         boolean allowJavaCharacters)