|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.graphics2d.font.Lookup
public class 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(java.lang.String tableName)
Gives the requested encoding table Valid table names can be requested with a call to |
java.lang.String[] |
getTableNames()
Gives the names of tables that can be used in a string array. |
java.lang.String |
toName(char uc)
Converts a unicode character to name. |
java.lang.String |
toName(java.lang.Character uc)
Converts a unicode character to name. |
char |
toUnicode(java.lang.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(java.lang.String name)
public java.lang.String toName(char uc)
public java.lang.String toName(java.lang.Character uc)
public CharTable getTable(java.lang.String tableName)
getTableNames().
public int getNumberOfTables()
public java.lang.String[] getTableNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |