Class UnescapeUtil

java.lang.Object
com.espertech.esperio.socket.core.UnescapeUtil

public class UnescapeUtil extends Object
  • Constructor Details

    • UnescapeUtil

      public UnescapeUtil()
  • Method Details

    • unescapeJavaString

      public static String unescapeJavaString(String st)
      Unescapes a string that contains standard Java escape sequences.
      • \b \f \n \r \t \" \' : BS, FF, NL, CR, TAB, double and single quote.
      • \X \XX \XXX : Octal character specification (0 - 377, 0x00 - 0xFF).
      • \uXXXX : Hexadecimal based Unicode character.
      Parameters:
      st - A string optionally containing standard java escape sequences.
      Returns:
      The translated string.