public class ThirdPartyUtils
extends java.lang.Object
Constructor and Description |
---|
ThirdPartyUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
entityValue(java.lang.String name) |
static java.lang.String |
unescape(java.lang.String str)
Unescapes the entities in a
String . |
public static java.lang.String unescape(java.lang.String str)
Unescapes the entities in a String
.
For example, if you have called addEntity("foo", 0xA1), unescape("&foo;") will return "ยก"
str
- The String
to escape.String
.public static int entityValue(java.lang.String name)