Holger's
Java API

com.antelmann.mgmt
Class MgmtUtils

java.lang.Object
  extended by com.antelmann.mgmt.MgmtUtils

public class MgmtUtils
extends Object

Author:
Holger Antelmann

Constructor Summary
MgmtUtils()
           
 
Method Summary
static int calculateEANChecksum(String codeWithoutCheckDigit)
          takes both: UPC and EAN codes; must be numeric only
static boolean checkEAN(String code)
          takes both: UPC and EAN codes; must be numeric only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgmtUtils

public MgmtUtils()
Method Detail

checkEAN

public static boolean checkEAN(String code)
                        throws IllegalArgumentException
takes both: UPC and EAN codes; must be numeric only

Throws:
IllegalArgumentException

calculateEANChecksum

public static int calculateEANChecksum(String codeWithoutCheckDigit)
                                throws IllegalArgumentException
takes both: UPC and EAN codes; must be numeric only

Throws:
IllegalArgumentException


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads