|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.barbecue.linear.code39.ModuleFactory
public final class ModuleFactory
The Code 39 barcode module definitions.
Field Summary | |
---|---|
static Module |
START_STOP
The start and stop character for the barcode |
Method Summary | |
---|---|
static String |
getExtendedCharacter(char c)
Returns the string of characters from the standard encoding table that encode the given extended character set character. |
static int |
getIndex(String key)
Returns the index of the given character in the encoding tables. |
static Module |
getModule(String key)
Returns the module that represents the specified character. |
static Module |
getModuleForIndex(int index)
Returns the encoded module at the given index position. |
static boolean |
hasModule(String key,
boolean extendedMode)
Indicates whether the given key is represented in the default encoding table that this module factory contains. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Module START_STOP
Method Detail |
---|
public static Module getModule(String key)
key
- The data character to get the encoding module for
public static int getIndex(String key)
key
- The data character sequence to get the index for
public static boolean hasModule(String key, boolean extendedMode)
public static Module getModuleForIndex(int index)
index
- The index to get the module for
public static String getExtendedCharacter(char c)
c
- The character from the extended ASCII set to encode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |