org.krysalis.barcode4j.impl.code128
Class EAN128AI
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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
Copyright © 2000-2010 Jeremias Maerki. All rights reserved.