public abstract class GenericResourceBundleSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_COUNTRY_CMDARG |
static String |
LOCAL_LANGUAGE_CMDARG
Options specified to the VM as arguments to specify the Locale Usage: the
following options could be used from the command line
-DBundle.locale.language=en -DBundle.locale.country=US means English US
|
| Constructor and Description |
|---|
GenericResourceBundleSupport(String baseName,
ClassLoader classloader)
create a new instance for the basename and classloader
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(String key)
Return the internationalized object specified by the given key.
|
public static final String LOCAL_LANGUAGE_CMDARG
public static final String LOCAL_COUNTRY_CMDARG
public GenericResourceBundleSupport(String baseName, ClassLoader classloader) throws MissingResourceException
baseName - (e.g. : "com.lwm.core.ui.mptable.i18n.UiBundle")classloader - parameterMissingResourceExceptionpublic Object getObject(String key) throws ChainedException
key - parameterMissingResourceException - if the specified key cannot be found in the receiver's
resource bundle.ChainedException - errorCopyright 2004-2021 Solace Corporation. All rights reserved.