Contains an application level resource bundle name and its associated descriptions, if any.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final String | |
| private final Map | |
| private final Map | |
| private volatile Map |
| Access | Constructor and Description |
|---|---|
| public | ApplicationResourceBundle(String
the base name of the baseName, Map<String, String> ResourceBundleany display names that were associated with the resource bundle
definition in the configuration resource displayNames, Map<String, String> any descriptions that were associated with the resource bundle definition
in the configuration resource descriptions)Constructs a new ApplicationResourceBundle |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the base name of theResourceBundle associated with this
ApplicationResourceBundle instance
|
| public String | Returns: a text of adescription element associated with the specified
localea locale)Locale
|
| public String | Returns: a text of adisplay-name element associated with the specified
localea locale)Locale
|
| public ResourceBundle | Returns: return theResourceBundle associated with the specified
localea locale)Locale
|
| private String |
| baseName | back to summary |
|---|---|
| private final String baseName | |
| DEFAULT_KEY | back to summary |
|---|---|
| public static final String DEFAULT_KEY | |
| descriptions | back to summary |
|---|---|
| private final Map<String, String> descriptions | |
| displayNames | back to summary |
|---|---|
| private final Map<String, String> displayNames | |
| resources | back to summary |
|---|---|
| private volatile Map<Locale, ResourceBundle> resources | |
| ApplicationResourceBundle | back to summary |
|---|---|
| public ApplicationResourceBundle(String baseName, Map<String, String> displayNames, Map<String, String> descriptions) Constructs a new ApplicationResourceBundle
| |
| getBaseName | back to summary |
|---|---|
public String getBaseName()
| |
| getDescription | back to summary |
|---|---|
| public String getDescription(Locale locale) | |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName(Locale locale) | |
| getResourceBundle | back to summary |
|---|---|
public ResourceBundle getResourceBundle(Locale locale)
| |
| queryMap | back to summary |
|---|---|
| private String queryMap(Locale locale, Map<String, String> map)
Lookup and return the text for the specified | |