public class Code93Encoder extends Object implements BarcodeEncoder
| Modifier and Type | Field and Description |
|---|---|
protected static BarSet[] |
CODES |
protected BarSet |
START_STOP_CHAR |
protected BarSet |
TERMINATION_BAR |
| Modifier | Constructor and Description |
|---|---|
protected |
Code93Encoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeCheckSum(String text) |
BarSet[] |
encode(String texto) |
protected char |
getChar(byte c) |
protected int |
getCharIndex(char c) |
static BarcodeEncoder |
getInstance() |
String |
toString() |
protected static BarSet[] CODES
protected BarSet START_STOP_CHAR
protected BarSet TERMINATION_BAR
public static BarcodeEncoder getInstance()
public BarSet[] encode(String texto) throws InvalidAtributeException
encode in interface BarcodeEncoderInvalidAtributeExceptionprotected int getCharIndex(char c)
throws InvalidAtributeException
InvalidAtributeExceptionprotected char getChar(byte c)
throws InvalidAtributeException
InvalidAtributeExceptionpublic String computeCheckSum(String text) throws InvalidAtributeException
computeCheckSum in interface BarcodeEncoderInvalidAtributeExceptionCopyright © 2016 jufeng. All rights reserved.