Class ITF14LogicImpl

java.lang.Object
org.krysalis.barcode4j.impl.int2of5.Interleaved2Of5LogicImpl
org.krysalis.barcode4j.impl.int2of5.ITF14LogicImpl

public class ITF14LogicImpl extends Interleaved2Of5LogicImpl
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 Details

    • ITF14LogicImpl

      public ITF14LogicImpl(ChecksumMode mode, boolean displayChecksum)
      Main constructor.
      Parameters:
      mode - the checksum mode
      displayChecksum - true if the checksum shall be displayed
  • Method Details

    • handleChecksum

      protected String handleChecksum(StringBuffer sb)
      Handles the checksum based on the checksum mode. The checksum is either checked, ignored or attached to the given string buffer.
      Overrides:
      handleChecksum in class Interleaved2Of5LogicImpl
      Parameters:
      sb - the string buffer containing the message
      Returns:
      the updated string after checksum processing (for the human-readable part)