public class EntitiesToSymbol
extends java.lang.Object
| Constructor and Description |
|---|
EntitiesToSymbol() |
| Modifier and Type | Method and Description |
|---|---|
static Chunk |
get(java.lang.String e,
Font font)
Gets a chunk with a symbol character.
|
static char |
getCorrespondingSymbol(java.lang.String name)
Looks for the corresponding symbol in the font Symbol.
|
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.SYMBOL)public static char getCorrespondingSymbol(java.lang.String name)
name - the name of the entityCopyright © 2013. All Rights Reserved.