|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krysalis.barcode4j.impl.fourstate.AbstractFourStateLogicImpl
org.krysalis.barcode4j.impl.fourstate.USPSIntelligentMailLogicImpl
public class USPSIntelligentMailLogicImpl
This class is a logic implementation for the USPS Intelligent Mail Barcode (aka 4-State Customer Barcode, USPS-B-3200 revision E, 2007-10-30).
| Constructor Summary | |
|---|---|
USPSIntelligentMailLogicImpl()
Main constructor. |
|
| Method Summary | |
|---|---|
char |
calcChecksum(java.lang.String msg)
Calculates the checksum for a message to be encoded as an one of the foru-state barcode symbologies. |
protected java.lang.String[] |
encodeHighLevel(java.lang.String msg)
Does the high-level encoding of the message into codewords. |
void |
generateBarcodeLogic(ClassicBarcodeLogicHandler logic,
java.lang.String msg)
Generates the barcode logic |
protected java.lang.String |
normalizeMessage(java.lang.String msg)
Turns the given message into a normalize representation. |
| Methods inherited from class org.krysalis.barcode4j.impl.fourstate.AbstractFourStateLogicImpl |
|---|
encodeCodeword, getChecksumMode, isIgnoredChar, validateChecksum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public USPSIntelligentMailLogicImpl()
| Method Detail |
|---|
public char calcChecksum(java.lang.String msg)
calcChecksum in class AbstractFourStateLogicImplmsg - message to calculate the check digit for
protected java.lang.String[] encodeHighLevel(java.lang.String msg)
encodeHighLevel in class AbstractFourStateLogicImplmsg - the message
protected java.lang.String normalizeMessage(java.lang.String msg)
normalizeMessage in class AbstractFourStateLogicImplmsg - the message
public void generateBarcodeLogic(ClassicBarcodeLogicHandler logic,
java.lang.String msg)
generateBarcodeLogic in class AbstractFourStateLogicImpllogic - the logic handler to receive generated eventsmsg - the message to encode
|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||