java.lang.Object
com.sun.faces.application.ApplicationResourceBundle
Contains an application level resource bundle name and its associated descriptions, if any.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDescription
(Locale locale) getDisplayName
(Locale locale) getResourceBundle
(Locale locale)
-
Field Details
-
DEFAULT_KEY
- See Also:
-
-
Constructor Details
-
ApplicationResourceBundle
public ApplicationResourceBundle(String baseName, Map<String, String> displayNames, Map<String, String> descriptions) Constructs a new ApplicationResourceBundle
- Parameters:
baseName
- the base name of theResourceBundle
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 resource
-
-
Method Details
-
getBaseName
- Returns:
- the base name of the
ResourceBundle
associated with thisApplicationResourceBundle
instance
-
getResourceBundle
- Parameters:
locale
- aLocale
- Returns:
- return the
ResourceBundle
associated with the specifiedlocale
-
getDisplayName
-
getDescription
-