barcode4j 2.1.0

org.krysalis.barcode4j.impl.int2of5
Class ITF14LogicImpl

java.lang.Object
  extended by org.krysalis.barcode4j.impl.int2of5.Interleaved2Of5LogicImpl
      extended by 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 Summary
ITF14LogicImpl(ChecksumMode mode, boolean displayChecksum)
          Main constructor.
 
Method Summary
protected  java.lang.String handleChecksum(java.lang.StringBuffer sb)
          Handles the checksum based on the checksum mode.
 
Methods inherited from class org.krysalis.barcode4j.impl.int2of5.Interleaved2Of5LogicImpl
calcChecksum, calcChecksum, doHandleChecksum, generateBarcodeLogic, getChecksumMode, validateChecksum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITF14LogicImpl

public ITF14LogicImpl(ChecksumMode mode,
                      boolean displayChecksum)
Main constructor.

Parameters:
mode - the checksum mode
displayChecksum - true if the checksum shall be displayed
Method Detail

handleChecksum

protected java.lang.String handleChecksum(java.lang.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)

barcode4j 2.1.0

Copyright © 2000-2010 Jeremias Maerki. All rights reserved.