|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freehep.graphicsio.font.encoding.Lookup
Lookup class provides conversion between different encodings and character tables using character name, encoding index, and unicode. In order to add new tables original code should be modified.
| Method Summary | |
static Lookup |
getInstance()
|
int |
getNumberOfTables()
Gives the total number of tables included in the file |
CharTable |
getTable(String tableName)
Gives the requested encoding table Valid table names can be requested with a call to |
String[] |
getTableNames()
Gives the names of tables that can be used in a string array. |
String |
toName(char uc)
Converts a unicode character to name. |
String |
toName(Character uc)
Converts a unicode character to name. |
char |
toUnicode(String name)
Converts a name to unicode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Lookup getInstance()
public char toUnicode(String name)
public String toName(char uc)
public String toName(Character uc)
public CharTable getTable(String tableName)
getTableNames().public int getNumberOfTables()
public String[] getTableNames()
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||