Interface EscapeUtil
public interface EscapeUtil
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic StringaddEscapes(String str) Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
-
Method Details
-
addEscapes
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.- Parameters:
str- input- Returns:
- escaped string
-