public class ExtendedCode39 extends BaseCode39 implements java.io.Serializable
BarcodeStrategy
interface,
knows how to encode the 3:1 (wide)
variant of the Extended Code 3 of 9 barcode type.AbstractBarcodeStrategy.CharacterCode
codes, codes2to1
MANDATORY_CHECKSUM, NO_CHECKSUM, OPTIONAL_CHECKSUM
Constructor and Description |
---|
ExtendedCode39() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getBarcodeLabelText(java.lang.String text)
Returns the text parameter unmodified.
|
protected AbstractBarcodeStrategy.CharacterCode[] |
getCodes()
This implementation of getCodes returns
BaseCode39.codes . |
protected java.lang.String |
preprocess(java.lang.String text)
Converts ASCII to Code 39 characters.
|
augmentWithChecksum, getMarginWidth, getStartSentinel, getStopSentinel, isInterleaved, postprocess, requiresChecksum
computeSize, encode, getCharacterCode, getCharacterCode
protected AbstractBarcodeStrategy.CharacterCode[] getCodes()
BaseCode39.codes
.getCodes
in class AbstractBarcodeStrategy
CharacterCode
objects, one for each possible character
that can be encoded using this strategy.protected java.lang.String preprocess(java.lang.String text)
preprocess
in class AbstractBarcodeStrategy
text
- The raw text to encode.protected java.lang.String getBarcodeLabelText(java.lang.String text)
getBarcodeLabelText
in class AbstractBarcodeStrategy
text
- The raw text to encode.Copyright ? 2022. All Rights Reserved.