public class Entities
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashMap |
map
This is a map that contains all possible id values of the entity tag.
|
| Constructor and Description |
|---|
Entities() |
| Modifier and Type | Method and Description |
|---|---|
static Chunk |
get(java.lang.String e,
Font font)
Gets a chunk with a symbol character.
|
static int |
getCorrespondingSymbol(java.lang.String c)
Looks for the corresponding symbol in the font Symbol.
|
static boolean |
isTag(java.lang.String tag)
Checks if a given tag corresponds with this object.
|
public static final java.util.HashMap map
public static Chunk get(java.lang.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.SYMBIL)public static int getCorrespondingSymbol(java.lang.String c)
c - the original ASCII-charpublic static boolean isTag(java.lang.String tag)
tag - the given tag