public class StringUtil
extends java.lang.Object
| Constructor and Description |
|---|
StringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
escapeString(java.lang.String str)
Escapes the input string so that all non-printable characters
(0x00-0x1f) are represented as a hex escape (\x00, \x01, ...)
or as a C-style escape sequence (\a, \b, \t, \n, \v, \f, or \r).
|
public static java.lang.String escapeString(java.lang.String str)