public final class ResourceBundleWrapper
extends java.util.ResourceBundle
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_RESOURCE_MESSAGE_SERVICE |
static java.lang.String |
PATH |
| Modifier and Type | Method and Description |
|---|---|
static void |
addResourceBundle(java.lang.String name)
Adds a resource bundle to the collection of custom bundles available
|
protected static java.lang.String |
determineCustomBundleName(java.lang.String bundleName)
Determines the name for the custom bundle to lookup based on the given
bundle name
|
java.util.Enumeration |
getKeys() |
static java.util.ResourceBundle |
getResourceBundle(java.lang.String name,
java.util.Locale locale)
Factory method to get a named wrapped resource bundle for a particular locale.
|
protected java.lang.Object |
handleGetObject(java.lang.String key) |
public static final java.lang.String BEAN_RESOURCE_MESSAGE_SERVICE
public static final java.lang.String PATH
public java.util.Enumeration getKeys()
getKeys in class java.util.ResourceBundleResourceBundle.getKeys()protected java.lang.Object handleGetObject(java.lang.String key)
handleGetObject in class java.util.ResourceBundleResourceBundle.handleGetObject(java.lang.String)public static java.util.ResourceBundle getResourceBundle(java.lang.String name,
java.util.Locale locale)
servletContext - ServletContextname - Bundle namelocale - Locale to retrieve bundle forpublic static void addResourceBundle(java.lang.String name)
name - the name of the resource bundleprotected static java.lang.String determineCustomBundleName(java.lang.String bundleName)
bundleName - The standard bundleCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.