Class PropertiesUnescapeUtil


  • final class PropertiesUnescapeUtil
    extends java.lang.Object

    Internal class in charge of performing the real escape/unescape operations.

    Since:
    1.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static int parseIntFromReference​(char[] text, int start, int end, int radix)  
      (package private) static int parseIntFromReference​(java.lang.String text, int start, int end, int radix)  
      (package private) static void unescape​(char[] text, int offset, int len, java.io.Writer writer)  
      (package private) static void unescape​(java.io.Reader reader, java.io.Writer writer)  
      (package private) static java.lang.String unescape​(java.lang.String text)  
      • 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

      • PropertiesUnescapeUtil

        private PropertiesUnescapeUtil()
    • Method Detail

      • parseIntFromReference

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

        static int parseIntFromReference​(char[] text,
                                         int start,
                                         int end,
                                         int radix)
      • unescape

        static java.lang.String unescape​(java.lang.String text)
      • unescape

        static void unescape​(java.io.Reader reader,
                             java.io.Writer writer)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • unescape

        static void unescape​(char[] text,
                             int offset,
                             int len,
                             java.io.Writer writer)
                      throws java.io.IOException
        Throws:
        java.io.IOException