com.atlassian.bamboo.utils
Class BambooMergedResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by com.atlassian.bamboo.utils.BambooMergedResourceBundle

public class BambooMergedResourceBundle
extends java.util.ResourceBundle


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
java.util.ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
BambooMergedResourceBundle(java.lang.String... baseNameList)
          Constructs a resource bundle from a list of other resource bundles.
 
Method Summary
 java.util.Enumeration<java.lang.String> getKeys()
           
protected  java.lang.Object handleGetObject(java.lang.String key)
           
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooMergedResourceBundle

public BambooMergedResourceBundle(java.lang.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

public java.util.Enumeration<java.lang.String> getKeys()
Specified by:
getKeys in class java.util.ResourceBundle

handleGetObject

protected java.lang.Object handleGetObject(java.lang.String key)
Specified by:
handleGetObject in class java.util.ResourceBundle
See Also:
ResourceBundle.handleGetObject(java.lang.String)


Copyright © 2012 Atlassian. All Rights Reserved.