public class CodeTable extends Object implements CodeTableInterface
CodeTable defines a data structure to facilitate
AnselToUnicode character conversion.
| Modifier and Type | Field and Description |
|---|---|
protected static HashMap<Integer,HashMap<Integer,Character>> |
charsets |
protected static HashMap<Integer,Vector<Integer>> |
combining |
| Constructor and Description |
|---|
CodeTable(InputStream byteStream)
Creates a CodeTable from the supplied
InputStream. |
CodeTable(String filename)
Creates a CodeTable from the supplied file name.
|
CodeTable(URI uri)
Creates a CodeTable from the supplied
URI. |
| Modifier and Type | Method and Description |
|---|---|
char |
getChar(int c,
int mode)
Returns the
char for the supplied int and mode. |
boolean |
isCombining(int i,
int g0,
int g1)
Returns
true if combining; else, false. |
public CodeTable(InputStream byteStream)
InputStream.byteStream - public CodeTable(String filename)
filename - public boolean isCombining(int i,
int g0,
int g1)
true if combining; else, false.isCombining in interface CodeTableInterfacei - g0 - g1 - public char getChar(int c,
int mode)
char for the supplied int and mode.getChar in interface CodeTableInterfacec - mode - Copyright © 2014 FreeLibrary. All Rights Reserved.