public final class ResourceBundleWrapper extends ResourceBundle implements Serializable
ResourceBundle.Control
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_RESOURCE_MESSAGE_SERVICE |
static String |
PATH |
parent
Modifier and Type | Method and Description |
---|---|
static void |
addResourceBundle(String name)
Adds a resource bundle to the collection of custom bundles available
|
protected static String |
determineCustomBundleName(String bundleName)
Determines the name for the custom bundle to lookup based on the given
bundle name
|
Enumeration<String> |
getKeys() |
static ResourceBundle |
getResourceBundle(String name,
Locale locale)
Factory method to get a named wrapped resource bundle for a particular locale.
|
protected Object |
handleGetObject(String key) |
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
public static final String BEAN_RESOURCE_MESSAGE_SERVICE
public static final String PATH
public Enumeration<String> getKeys()
getKeys
in class ResourceBundle
ResourceBundle.getKeys()
protected Object handleGetObject(String key)
handleGetObject
in class ResourceBundle
ResourceBundle.handleGetObject(java.lang.String)
public static ResourceBundle getResourceBundle(String name, Locale locale)
name
- Bundle namelocale
- Locale to retrieve bundle forpublic static void addResourceBundle(String name)
name
- the name of the resource bundleCopyright © 2005–2017 Alfresco Software. All rights reserved.