org.equanda.util.barcode
Class EAN128Support

java.lang.Object
  extended by org.equanda.util.barcode.EAN128Support

public final class EAN128Support
extends Object

Support class for EAN 128 barcodes processing

Author:
Joachim Van der Auwera

Method Summary
static String getAINumber(String name)
          get the AI number when given the data title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAINumber

public static String getAINumber(String name)
                          throws EAN128InvalidData
get the AI number when given the data title. Note that some data titles are not unique The returned AI may end with "n" indicating that the decimal point position needs inserting. There is one exception to this, for AI "23n" the n indicated the length, but this AI is deprecated and you should use AI "10" instead. (Think 23N is not returned).

Parameters:
name - data (short) title
Returns:
string with numeric AI
Throws:
EAN128InvalidData - invalid data


Copyright © 2007-2009. All Rights Reserved.