Class YamlStringEscapeUtils

java.lang.Object
brut.androlib.apk.YamlStringEscapeUtils

public class YamlStringEscapeUtils extends Object
  • Constructor Details

    • YamlStringEscapeUtils

      public YamlStringEscapeUtils()
  • Method Details

    • escapeString

      public static String escapeString(String str)
    • unescapeString

      public static String unescapeString(String str)

      Unescapes any Java literals found in the String. For example, it will turn a sequence of '\' and 'n' into a newline character, unless the '\' is preceded by another '\'.

      Parameters:
      str - the String to unescape, may be null
      Returns:
      a new unescaped String, null if null string input