public class EntitiesToUnicode extends Object
Constructor | Description |
---|---|
EntitiesToUnicode() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static char decodeEntity(String name)
name
- the name of the entityCopyright © 2018. All rights reserved.