Package com.atlassian.bamboo.utils
Class BambooMergedResourceBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- com.atlassian.bamboo.utils.BambooMergedResourceBundle
-
public class BambooMergedResourceBundle extends ResourceBundle
-
-
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
Constructors Constructor Description BambooMergedResourceBundle(String... baseNameList)
Constructs a resource bundle from a list of other resource bundles.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @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 Detail
-
BambooMergedResourceBundle
public BambooMergedResourceBundle(String... baseNameList)
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 Detail
-
getKeys
@NotNull public @NotNull Enumeration<String> getKeys()
- Specified by:
getKeys
in classResourceBundle
-
handleGetObject
protected Object handleGetObject(@NotNull @NotNull String key)
- Specified by:
handleGetObject
in classResourceBundle
- See Also:
ResourceBundle.handleGetObject(java.lang.String)
-
-