public class EntityConverter extends Object
Constructor and Description |
---|
EntityConverter() |
Modifier and Type | Method and Description |
---|---|
static String |
convertEntities(String text,
Map conversionMap)
this method will convert the entities in the text according to the provided map.
|
static Map |
createCharacterMap(String rawDtd)
converts a raw dtd (on the format provided in charachterconversion.properties) to a map with
entitynames as key and the unicode # representation as value
|
public static String convertEntities(String text, Map conversionMap)
text
- conversionMap
- © 1998- 2021 Escenic AS