public class EntitiesToUnicode
extends java.lang.Object
Constructor and Description |
---|
EntitiesToUnicode() |
Modifier and Type | Method and Description |
---|---|
static char |
decodeEntity(java.lang.String name)
Translates an entity to a unicode character.
|
static java.lang.String |
decodeString(java.lang.String s)
Translates a String with entities (&...;) to a String without entities,
replacing the entity with the right (unicode) character.
|
public static char decodeEntity(java.lang.String name)
name
- the name of the entitypublic static java.lang.String decodeString(java.lang.String s)
Copyright © 2013. All Rights Reserved.