public class HtmlEntityUtil extends Object
Constructor and Description |
---|
HtmlEntityUtil() |
Modifier and Type | Method and Description |
---|---|
static char |
getChar(String symbol)
A character corresponding to the given symbol.
|
static String |
getDescription(char ch)
Returns description of the given character
|
static String |
getDescription(String symbol)
Returns description of the given symbol.
|
static String |
getSymbol(char ch)
Returns a symbol corresponding to the given character or
null if nothing was found |
public static char getChar(String symbol)
symbol
- for this symbol the corresponding character will be
returnedpublic static String getDescription(char ch)
ch
- for this character the corresponding description will be
returnedpublic static String getDescription(String symbol)
symbol
- for this symbol the corresponding description will be
returnedpublic static String getSymbol(char ch)
null
if nothing was foundch
- for this character the corresponding symbol will be returnedCopyright © 2004–2021 XWiki. All rights reserved.