Class PropertiesUnescapeUtil

java.lang.Object
org.unbescape.properties.PropertiesUnescapeUtil

final class PropertiesUnescapeUtil extends Object

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

Since:
1.0.0
  • Field Details

    • ESCAPE_PREFIX

      private static final char ESCAPE_PREFIX
      See Also:
    • ESCAPE_UHEXA_PREFIX2

      private static final char ESCAPE_UHEXA_PREFIX2
      See Also:
    • HEXA_CHARS_UPPER

      private static char[] HEXA_CHARS_UPPER
    • HEXA_CHARS_LOWER

      private static char[] HEXA_CHARS_LOWER
  • Constructor Details

    • PropertiesUnescapeUtil

      private PropertiesUnescapeUtil()
  • Method Details

    • parseIntFromReference

      static int parseIntFromReference(String text, int start, int end, int radix)
    • parseIntFromReference

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

      static String unescape(String text)
    • unescape

      static void unescape(Reader reader, Writer writer) throws IOException
      Throws:
      IOException
    • unescape

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