public final class ModuleFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getIndex(String key,
int mode)
Returns the index of the given character in the encoding tables.
|
static Module |
getModule(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(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(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)Copyright © 2003-2013 barbecue.sourceforge.net. All Rights Reserved.