public class ApplicationResourceBundle extends Object
Contains an application level resource bundle name and its associated descriptions, if any.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_KEY |
| Constructor and Description |
|---|
ApplicationResourceBundle(String baseName,
Map<String,String> displayNames,
Map<String,String> descriptions)
Constructs a new ApplicationResourceBundle
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName() |
String |
getDescription(Locale locale) |
String |
getDisplayName(Locale locale) |
ResourceBundle |
getResourceBundle(Locale locale) |
public static final String DEFAULT_KEY
public ApplicationResourceBundle(String baseName, Map<String,String> displayNames, Map<String,String> descriptions)
Constructs a new ApplicationResourceBundle
baseName - the base name of the ResourceBundledisplayNames - any display names that were associated
with the resource bundle definition in the configuration resourcedescriptions - any descriptions that were associated
with the resource bundle definition in the configuration resourcepublic String getBaseName()
ResourceBundle associated with
this ApplicationResourceBundle instancepublic ResourceBundle getResourceBundle(Locale locale)
locale - a LocaleResourceBundle associated with the
specified localepublic String getDisplayName(Locale locale)
locale - a Localedisplay-name element associated with the
specified localeCopyright © 2010–2018 JBoss by Red Hat. All rights reserved.