Module com.github.librepdf.openpdf
Class EntitiesToUnicode
- java.lang.Object
-
- com.lowagie.text.xml.simpleparser.EntitiesToUnicode
-
public class EntitiesToUnicode extends Object
This class contains entities that can be used in an entity tag.
-
-
Constructor Summary
Constructors Constructor Description EntitiesToUnicode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static chardecodeEntity(String name)Translates an entity to a unicode character.static StringdecodeString(String s)Translates a String with entities (&...;) to a String without entities, replacing the entity with the right (unicode) character.static Map<String,Character>getMap()
-
-
-
Method Detail
-
decodeEntity
public static char decodeEntity(String name)
Translates an entity to a unicode character.- Parameters:
name- the name of the entity- Returns:
- the corresponding unicode character
-
-