barcode4j 2.1.0

org.krysalis.barcode4j.impl.code128
Class EAN128AI

java.lang.Object
  extended by org.krysalis.barcode4j.impl.code128.EAN128AI

public class EAN128AI
extends java.lang.Object

This class keeps Informations about EAN 128 Application Identifiers (AIs).

Author:
Dietmar Bürkle

Field Summary
static byte CONSTLenMax
           
static byte TYPEAlpha
           
static byte TYPEAlphaNum
           
static byte TYPECD
           
static byte TYPEError
           
static byte TYPENum
           
static byte TYPENumDate
           
 
Method Summary
static boolean checkAI(EAN128AI ai)
           
static EAN128AI getAI(java.lang.String msg, int msgStart)
           
static java.lang.String getType(byte type)
           
 boolean isCheckDigit(byte idx)
           
static boolean isCheckDigitType(byte type)
           
static void loadProperties()
           
static EAN128AI parseSpec(java.lang.String ai, java.lang.String spec)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONSTLenMax

public static final byte CONSTLenMax
See Also:
Constant Field Values

TYPEAlphaNum

public static final byte TYPEAlphaNum
See Also:
Constant Field Values

TYPENum

public static final byte TYPENum
See Also:
Constant Field Values

TYPEAlpha

public static final byte TYPEAlpha
See Also:
Constant Field Values

TYPENumDate

public static final byte TYPENumDate
See Also:
Constant Field Values

TYPEError

public static final byte TYPEError
See Also:
Constant Field Values

TYPECD

public static final byte TYPECD
See Also:
Constant Field Values
Method Detail

loadProperties

public static void loadProperties()
                           throws java.lang.Exception
Throws:
java.lang.Exception

parseSpec

public static EAN128AI parseSpec(java.lang.String ai,
                                 java.lang.String spec)

checkAI

public static boolean checkAI(EAN128AI ai)

getAI

public static EAN128AI getAI(java.lang.String msg,
                             int msgStart)
                      throws java.lang.Exception
Throws:
java.lang.Exception

isCheckDigitType

public static final boolean isCheckDigitType(byte type)

isCheckDigit

public final boolean isCheckDigit(byte idx)

getType

public static final java.lang.String getType(byte type)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

barcode4j 2.1.0

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