Class ITF14LogicImpl
java.lang.Object
org.krysalis.barcode4j.impl.int2of5.Interleaved2Of5LogicImpl
org.krysalis.barcode4j.impl.int2of5.ITF14LogicImpl
This class is an implementation of the ITF-14 barcode.
- Version:
- $Id: ITF14LogicImpl.java,v 1.1 2009-02-19 10:14:54 jmaerki Exp $
-
Constructor Summary
ConstructorsConstructorDescriptionITF14LogicImpl(ChecksumMode mode, boolean displayChecksum) Main constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringHandles the checksum based on the checksum mode.Methods inherited from class org.krysalis.barcode4j.impl.int2of5.Interleaved2Of5LogicImpl
calcChecksum, calcChecksum, doHandleChecksum, generateBarcodeLogic, getChecksumMode, validateChecksum
-
Constructor Details
-
ITF14LogicImpl
Main constructor.- Parameters:
mode- the checksum modedisplayChecksum- true if the checksum shall be displayed
-
-
Method Details
-
handleChecksum
Handles the checksum based on the checksum mode. The checksum is either checked, ignored or attached to the given string buffer.- Overrides:
handleChecksumin classInterleaved2Of5LogicImpl- Parameters:
sb- the string buffer containing the message- Returns:
- the updated string after checksum processing (for the human-readable part)
-