com.lowagie.text.xml.simpleparser
public class EntitiesToUnicode extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.HashMap |
map
This is a map that contains the names of entities and their unicode value.
|
Constructor and Description |
---|
EntitiesToUnicode() |
Modifier and Type | Method and Description |
---|---|
static char |
decodeEntity(java.lang.String name)
Translates an entity to a unicode character.
|
static java.lang.String |
decodeString(java.lang.String s)
Translates a String with entities (&...;) to a String without entities,
replacing the entity with the right (unicode) character.
|
public static final java.util.HashMap map
public static char decodeEntity(java.lang.String name)
name
- the name of the entitypublic static java.lang.String decodeString(java.lang.String s)