public class EntitiesToUnicode extends Object
Constructor and Description |
---|
EntitiesToUnicode() |
Modifier and Type | Method and 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 entity
Copyright © 1998–2018. All rights reserved.