at.gv.egovernment.moa.util
Class  ResourceBundleChain
java.lang.Object
  |
  +--at.gv.egovernment.moa.util.ResourceBundleChain
- public class ResourceBundleChain- extends Object
A class to chain ResourceBundles.
- Version: 
- $Id$
- Author: 
- Patrick Peck
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ResourceBundleChain
public ResourceBundleChain()
addResourceBundle
public void addResourceBundle(ResourceBundle resourceBundle)
- Add a ResourceBundleto the chain.
- 
- Parameters:
- resourceBundle- The- ResourceBundleto add.
 
getString
public String getString(String key)
                 throws MissingResourceException
- Return the value of the resource.- 
- Parameters:
- key- The key to access the- Stringresource.
- Returns:
- The resource value. All the registered ResourceBundles
 are searched in the order in which they have previously been added to thisResourceBundleChain.
- Throws:
- MissingResourceException- The resource coult not be found in any of
 the bundles.