public class EntitiesToSymbol extends Object
Modifier and Type | Field and Description |
---|---|
static HashMap<String,Character> |
map
Deprecated.
use the getter (
getMap() ) instead of accessing this field directly |
Constructor and Description |
---|
EntitiesToSymbol() |
Modifier and Type | Method and Description |
---|---|
static Chunk |
get(String e,
Font font)
Gets a chunk with a symbol character.
|
static char |
getCorrespondingSymbol(String name)
Looks for the corresponding symbol in the font Symbol.
|
static Map<String,Character> |
getMap() |
@Deprecated public static final HashMap<String,Character> map
getMap()
) instead of accessing this field directlypublic 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 © 2020. All rights reserved.