public class USPSIntelligentMailLogicImpl extends AbstractFourStateLogicImpl
| Constructor and Description |
|---|
USPSIntelligentMailLogicImpl()
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
char |
calcChecksum(String msg)
Calculates the checksum for a message to be encoded as an
one of the foru-state barcode symbologies.
|
protected String[] |
encodeHighLevel(String msg)
Does the high-level encoding of the message into codewords.
|
void |
generateBarcodeLogic(ClassicBarcodeLogicHandler logic,
String msg)
Generates the barcode logic
|
protected String |
normalizeMessage(String msg)
Turns the given message into a normalize representation.
|
encodeCodeword, getChecksumMode, isIgnoredChar, validateChecksumpublic USPSIntelligentMailLogicImpl()
public char calcChecksum(String msg)
calcChecksum in class AbstractFourStateLogicImplmsg - message to calculate the check digit forprotected String[] encodeHighLevel(String msg)
encodeHighLevel in class AbstractFourStateLogicImplmsg - the messageprotected String normalizeMessage(String msg)
normalizeMessage in class AbstractFourStateLogicImplmsg - the messagepublic void generateBarcodeLogic(ClassicBarcodeLogicHandler logic, String msg)
generateBarcodeLogic in class AbstractFourStateLogicImpllogic - the logic handler to receive generated eventsmsg - the message to encodeCopyright © 2003–2023. All rights reserved.