public final class ModuleFactory
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static int |
getIndex(java.lang.String key,
int mode)
Returns the index of the given character in the encoding tables.
|
static Module |
getModule(java.lang.String key,
int mode)
Returns the module that represents the specified character and character set.
|
static Module |
getModuleForIndex(int index,
int mode)
Returns the encoded module at the given index position.
|
public static Module getModule(java.lang.String key, int mode)
key
- The data character to get the encoding module formode
- The character set mode that is currently in use (A, B or C)public static int getIndex(java.lang.String key, int mode)
key
- The data character sequence to get the index formode
- The character set mode that is currently in use (A, B or C)public static Module getModuleForIndex(int index, int mode)
index
- The index to get the module formode
- The character set mode that is currently in use (A, B or C)