com.rapidminer.tools
Class ExtensibleResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by com.rapidminer.tools.ExtensibleResourceBundle

public class ExtensibleResourceBundle
extends java.util.ResourceBundle

This class represents an extensible resource bundle, where other resource bundles might be added. These are searched if the key isn't contained in the previously added bundles.

Author:
Sebastian Land

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
ExtensibleResourceBundle(java.util.ResourceBundle parent)
           
 
Method Summary
 void addResourceBundle(java.util.ResourceBundle bundle)
          This method extends this resource bundle with the properties set by the given bundle.
 void addResourceBundleAndOverwrite(java.util.ResourceBundle bundle)
          This method extends this resource bundle with the properties set by the given bundle.
 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

ExtensibleResourceBundle

public ExtensibleResourceBundle(java.util.ResourceBundle parent)
Method Detail

addResourceBundle

public void addResourceBundle(java.util.ResourceBundle bundle)
This method extends this resource bundle with the properties set by the given bundle. If those properties are already contained, they will be ignored.


addResourceBundleAndOverwrite

public void addResourceBundleAndOverwrite(java.util.ResourceBundle bundle)
This method extends this resource bundle with the properties set by the given bundle. If those properties were already contained, they are overwritten by the new bundle's settings.


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


Copyright © 2001-2009 by Rapid-I