|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.reports.common.CrystalResourcesFactory
public final class CrystalResourcesFactory
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. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale,
java.lang.String resourceKey,
java.lang.Object substitutionStrings)
Get the localized message for the given key in the given locale. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrystalResourcesFactory(java.lang.String bundleName)
Constructs a CrystalResourcesFactory
object that specifies the resources bundle passed in.
bundleName
- the name of the resources bundle whose format is defined by the java.util.ResourceBundle
classpublic CrystalResourcesFactory(java.lang.String bundleName, java.lang.ClassLoader loader)
Constructs a CrystalResourcesFactory
object that specifies the resources bundle passed in.
bundleName
- the name of the resources bundle whose format is defined by the java.util.ResourceBundle
classloader
- the ClassLoader
to use to load the resources bundleMethod Detail |
---|
public CrystalResources getInstance(java.util.Locale locale)
Gets a CrystalResources
object.
CrystalResources
objectpublic java.lang.String getLocalizedMessage(java.util.Locale locale, java.lang.String resourceKey, java.lang.Object substitutionStrings)
locale
- resourceKey
- substitutionStrings
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |