|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.barbecue.linear.code128.ModuleFactory
public final class ModuleFactory
Code 128 barcode module definitions.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||