barcode4j 2.1.0

org.krysalis.barcode4j
Interface BarcodeClassResolver

All Known Implementing Classes:
DefaultBarcodeClassResolver

public interface BarcodeClassResolver

This interface is used to resolve arbitrary string to classnames of Barcode implementations.

Version:
$Id: BarcodeClassResolver.java,v 1.4 2007/02/14 10:19:07 jmaerki Exp $
Author:
Jeremias Maerki

Method Summary
 java.util.Collection getBarcodeNames()
          Return the names of all registered barcode types.
 java.lang.Class resolve(java.lang.String name)
          Returns the Class object of a Barcode implementation.
 java.lang.Class resolveBean(java.lang.String name)
          Returns the Class object of a Barcode bean implementation.
 

Method Detail

resolve

java.lang.Class resolve(java.lang.String name)
                        throws java.lang.ClassNotFoundException
Returns the Class object of a Barcode implementation.

Parameters:
name - Name or Classname of a Barcode implementation class
Returns:
Class The class requested
Throws:
java.lang.ClassNotFoundException - If the class could not be resolved

resolveBean

java.lang.Class resolveBean(java.lang.String name)
                            throws java.lang.ClassNotFoundException
Returns the Class object of a Barcode bean implementation.

Parameters:
name - Name or Classname of a Barcode bean implementation class
Returns:
Class The class requested
Throws:
java.lang.ClassNotFoundException - If the class could not be resolved

getBarcodeNames

java.util.Collection getBarcodeNames()
Return the names of all registered barcode types.

Returns:
the names as a Collection of java.lang.String instances.

barcode4j 2.1.0

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