|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy
net.sourceforge.jbarcodebean.model.Ean13
net.sourceforge.jbarcodebean.model.Ean8
public class Ean8
EAN-8 barcode implementation. If less than 7 digits are supplied, the symbol is invalid Only the first 7 digits are considered: the checksum (8th digit) is always generated (MANDATORY_CHECKSUM).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy |
|---|
AbstractBarcodeStrategy.CharacterCode |
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.jbarcodebean.model.Ean13 |
|---|
checkSum |
| Fields inherited from interface net.sourceforge.jbarcodebean.model.BarcodeStrategy |
|---|
MANDATORY_CHECKSUM, NO_CHECKSUM, OPTIONAL_CHECKSUM |
| Constructor Summary | |
|---|---|
Ean8()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getBarcodeLabelText(java.lang.String text)
Subclasses implement this method to return the text which appears below the barcode. |
protected java.lang.String |
preprocess(java.lang.String text)
Subclasses implement this method to perform any preprocessing necessary on the original text to encode. |
| Methods inherited from class net.sourceforge.jbarcodebean.model.Ean13 |
|---|
augmentWithChecksum, computeChecksum, getCodes, getMarginWidth, getStartSentinel, getStopSentinel, isInterleaved, postprocess, requiresChecksum |
| Methods inherited from class net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy |
|---|
computeSize, encode, getCharacterCode, getCharacterCode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ean8()
| Method Detail |
|---|
protected java.lang.String preprocess(java.lang.String text)
AbstractBarcodeStrategyAbstractBarcodeStrategy.augmentWithChecksum(java.lang.String) method.
preprocess in class Ean13text - The raw text to encode.
protected java.lang.String getBarcodeLabelText(java.lang.String text)
AbstractBarcodeStrategy
getBarcodeLabelText in class Ean13text - The raw text to encode.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||