public class EAN8LogicImpl extends UPCEANLogicImpl
EVEN_PARITY, LEFT_HAND_A, LEFT_HAND_B, ODD_PARITY, RIGHT_HAND| Constructor and Description |
|---|
EAN8LogicImpl(ChecksumMode mode)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateBarcodeLogic(ClassicBarcodeLogicHandler logic,
String msg)
Generates the barcode logic.
|
static void |
validateMessage(String msg)
Validates a EAN-8 message.
|
calcChecksum, drawCenterGuard, drawSideGuard, drawSupplemental, encodeChar, getChecksumMode, getSupplementalLength, removeSupplemental, retrieveSupplementalpublic EAN8LogicImpl(ChecksumMode mode)
mode - the checksum modepublic static void validateMessage(String msg)
msg - the message to validatepublic void generateBarcodeLogic(ClassicBarcodeLogicHandler logic, String msg)
UPCEANLogicImplgenerateBarcodeLogic in class UPCEANLogicImpllogic - the logic handler to receive generated eventsmsg - the message to encodeUPCEANLogicImplCopyright © 2003–2023. All rights reserved.