public class EscapeUtils extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
EscapeUtils()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeComment(String text)
Escapes the
-- sequence before setting the text of a comment DOM node. |
static String |
unescape(String text,
char escapeChar)
Unescapes characters escaped with the specified escape character.
|
static String |
unescapeBackslash(String text)
Unescapes characters escaped with backslash in the given text.
|
public static String unescape(String text, char escapeChar)
text - the text to be unescapedescapeChar - the character that was used for escapingpublic static String unescapeBackslash(String text)
text - the text to be unescapedCopyright © 2004–2015 XWiki. All rights reserved.