com.crystaldecisions.reports.common
Class CrystalResourcesFactory

java.lang.Object
  extended bycom.crystaldecisions.reports.common.CrystalResourcesFactory

public final class CrystalResourcesFactory
extends java.lang.Object

Required by the CrystalException class. This class is used to specify the resource bundle.


Constructor Summary
CrystalResourcesFactory(java.lang.String bundleName)
           Constructs a CrystalResourcesFactory object that specifies the resources bundle passed in.
CrystalResourcesFactory(java.lang.String bundleName, java.lang.ClassLoader loader)
           Constructs a CrystalResourcesFactory object that specifies the resources bundle passed in.
 
Method Summary
 CrystalResources getInstance(java.util.Locale locale)
           Gets a CrystalResources object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrystalResourcesFactory

public CrystalResourcesFactory(java.lang.String bundleName)

Constructs a CrystalResourcesFactory object that specifies the resources bundle passed in.

Parameters:
bundleName - the name of the resources bundle whose format is defined by the java.util.ResourceBundle class

CrystalResourcesFactory

public CrystalResourcesFactory(java.lang.String bundleName,
                               java.lang.ClassLoader loader)

Constructs a CrystalResourcesFactory object that specifies the resources bundle passed in.

Parameters:
bundleName - the name of the resources bundle whose format is defined by the java.util.ResourceBundle class
loader - the ClassLoader to use to load the resources bundle
Method Detail

getInstance

public CrystalResources getInstance(java.util.Locale locale)

Gets a CrystalResources object.

Returns:
a CrystalResources object