util
Class DefaultBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by util.DefaultBundle
Direct Known Subclasses:
DefaultBorderLabels, DefaultMasterLabels, DefaultTargetHelperLabels, DefaultTargetMakerLabels, DefaultTypeHelperLabels

public class DefaultBundle
extends ResourceBundle

A class that is a resource bundle backed by a properties file. The only justification for existance of this class is the akward constructor for PropertyResourceBundle. Default values may be added in subclasses.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
 
Field Summary
protected  Hashtable<String,Object> lookup
          The properties look-up table.
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
protected DefaultBundle()
          Never use this class directly, only useful for subclasses that provide some default entries.
 
Method Summary
 Enumeration<String> getKeys()
          Returns the keys in the properties as an enumeration.
 Object handleGetObject(String key)
          Handles the object via a look-up in our properties.
 
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
 

Field Detail

lookup

protected Hashtable<String,Object> lookup
The properties look-up table.

Constructor Detail

DefaultBundle

protected DefaultBundle()
Never use this class directly, only useful for subclasses that provide some default entries.

Method Detail

handleGetObject

public Object handleGetObject(String key)
Handles the object via a look-up in our properties.

Specified by:
handleGetObject in class ResourceBundle

getKeys

public Enumeration<String> getKeys()
Returns the keys in the properties as an enumeration. Does not support parental look-up.

Specified by:
getKeys in class ResourceBundle