Class EscapeUtils


  • public final class EscapeUtils
    extends java.lang.Object
    Since:
    2.1.3
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EscapeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static int parseIntFromReference​(java.lang.String text, int start, int end, int radix)  
      static java.lang.String unescapeUnicode​(java.lang.String text)
      Unescapes unicode (UHEXA) escapes in a String, like \u00E1.
      • Methods inherited from class java.lang.Object

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

      • HEXA_CHARS_UPPER

        private static char[] HEXA_CHARS_UPPER
      • HEXA_CHARS_LOWER

        private static char[] HEXA_CHARS_LOWER
    • Constructor Detail

      • EscapeUtils

        private EscapeUtils()
    • Method Detail

      • parseIntFromReference

        static int parseIntFromReference​(java.lang.String text,
                                         int start,
                                         int end,
                                         int radix)
      • unescapeUnicode

        public static java.lang.String unescapeUnicode​(java.lang.String text)

        Unescapes unicode (UHEXA) escapes in a String, like \u00E1.

        Parameters:
        text - the String to be processed
        Returns:
        the processed String, null if input is null