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 ResourceBundle
displayNames
- 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 Locale
ResourceBundle
associated with the specified
localepublic String getDisplayName(Locale locale)
locale
- a Locale
display-name
element associated with the specified
localeComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.