|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.krysalis.barcode4j.impl.upcean.UPCEANLogicImpl org.krysalis.barcode4j.impl.upcean.EAN13LogicImpl
public class EAN13LogicImpl
This class is an implementation of the EAN-13 barcode.
Field Summary |
---|
Fields inherited from class org.krysalis.barcode4j.impl.upcean.UPCEANLogicImpl |
---|
EVEN_PARITY, LEFT_HAND_A, LEFT_HAND_B, ODD_PARITY, RIGHT_HAND |
Constructor Summary | |
---|---|
EAN13LogicImpl(ChecksumMode mode)
Main constructor |
Method Summary | |
---|---|
void |
generateBarcodeLogic(ClassicBarcodeLogicHandler logic,
java.lang.String msg)
Generates the barcode logic. |
static void |
validateMessage(java.lang.String msg)
Validates a EAN-13 message. |
Methods inherited from class org.krysalis.barcode4j.impl.upcean.UPCEANLogicImpl |
---|
calcChecksum, drawCenterGuard, drawSideGuard, drawSupplemental, encodeChar, getChecksumMode, getSupplementalLength, removeSupplemental, retrieveSupplemental |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EAN13LogicImpl(ChecksumMode mode)
mode
- the checksum modeMethod Detail |
---|
public static void validateMessage(java.lang.String msg)
msg
- the message to validatepublic void generateBarcodeLogic(ClassicBarcodeLogicHandler logic, java.lang.String msg)
UPCEANLogicImpl
generateBarcodeLogic
in class UPCEANLogicImpl
logic
- the logic handler to receive generated eventsmsg
- the message to encodeUPCEANLogicImpl
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |