Package com.atlassian.bamboo.utils
Class BambooMergedResourceBundle
java.lang.Object
java.util.ResourceBundle
com.atlassian.bamboo.utils.BambooMergedResourceBundle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
Field Summary
Fields inherited from class java.util.ResourceBundle
parent
-
Constructor Summary
ConstructorDescriptionBambooMergedResourceBundle
(String... baseNameList) Constructs a resource bundle from a list of other resource bundles. -
Method Summary
Modifier and TypeMethodDescription@NotNull Enumeration<String>
getKeys()
protected Object
handleGetObject
(@NotNull String key) Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
-
Constructor Details
-
BambooMergedResourceBundle
Constructs a resource bundle from a list of other resource bundles. If there are duplicate keys, the key from the resource bundle with the smallest index takes precedence.- Parameters:
baseNameList
- list of bundle base names to search for key/value pairs
-
-
Method Details
-
getKeys
- Specified by:
getKeys
in classResourceBundle
-
handleGetObject
- Specified by:
handleGetObject
in classResourceBundle
- See Also:
-