Package brut.androlib.apk
Class YamlStringEscapeUtils
java.lang.Object
brut.androlib.apk.YamlStringEscapeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeString(String str) static StringunescapeString(String str) Unescapes any Java literals found in theString.
-
Constructor Details
-
YamlStringEscapeUtils
public YamlStringEscapeUtils()
-
-
Method Details
-
escapeString
-
unescapeString
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- theStringto unescape, may be null- Returns:
- a new unescaped
String,nullif null string input
-