com.ibm.j2ca.extension.emd
Class PropertiesResourceBundle

java.lang.Object
  extended bycom.ibm.j2ca.extension.emd.PropertiesResourceBundle

public class PropertiesResourceBundle
extends java.lang.Object

ResourceBundleHelper - Provides access to the adapter specific and the base classes resource bundles.


Constructor Summary
PropertiesResourceBundle(java.lang.String adapterPackageName, java.util.Locale initLocale)
          Constructor
 
Method Summary
 java.lang.String getMessage(java.lang.String messageKey)
          Returns the value for a key from the resource bundle
 java.lang.String getMessageDescription(java.lang.String messageKey)
          Returns the description for the message key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesResourceBundle

public PropertiesResourceBundle(java.lang.String adapterPackageName,
                                java.util.Locale initLocale)
                         throws java.util.MissingResourceException
Constructor

Parameters:
adapterPackageName - Adapter specific package name initLocale Locale to use. For trace messages the Locale will be en_US always.
Method Detail

getMessage

public java.lang.String getMessage(java.lang.String messageKey)
Returns the value for a key from the resource bundle

Parameters:
messageKey -
Returns:

getMessageDescription

public java.lang.String getMessageDescription(java.lang.String messageKey)
Returns the description for the message key. It concatenates the name of the key with word "Description" to find the description for the key.

Parameters:
messageKey -
Returns: