public class EntitiesToSymbol extends Object
| Modifier and Type | Field and Description |
|---|---|
static HashMap |
map
This is a map that contains all possible id values of the entity tag
that can be translated to a character in font Symbol.
|
| Constructor and Description |
|---|
EntitiesToSymbol() |
public static final HashMap map
public static Chunk get(String e, Font font)
e - a symbol value (see Entities class: alfa is greek alfa,...)font - the font if the symbol isn't found (otherwise Font.SYMBOL)public static char getCorrespondingSymbol(String name)
name - the name of the entityCopyright © 2013 InProTopia Corporation. All Rights Reserved.