com.lowagie.text.xml.simpleparser
public class EntitiesToUnicode extends Object
| Field Summary | |
|---|---|
| static HashMap | map
This is a map that contains the names of entities and their unicode value. |
| Method Summary | |
|---|---|
| static char | decodeEntity(String name)
Translates an entity to a unicode character.
|
| static String | decodeString(String s)
Translates a String with entities (&...;) to a String without entities,
replacing the entity with the right (unicode) character. |
Parameters: name the name of the entity
Returns: the corresponding unicode character