com.taco.util
Class MultiLinePropertyResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by com.taco.util.AccessibleResourceBundle
          extended by com.taco.util.CachedKeysResourceBundle
              extended by com.taco.util.MultiLinePropertyResourceBundle

public class MultiLinePropertyResourceBundle
extends CachedKeysResourceBundle

A resource bundle that reads its key/value pairs from a .properties file, which is interpreted by an instance of MultiLineProperties.

See Also:
MultiLineProperties

Field Summary
protected  MultiLineProperties _properties
          The properties that back this instance.
 
Fields inherited from class com.taco.util.CachedKeysResourceBundle
_cachedKeySet, _keySetRef, _useSoftCache
 
Fields inherited from class com.taco.util.AccessibleResourceBundle
_isParentSet, _locale
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
MultiLinePropertyResourceBundle(java.io.InputStream in)
           
 
Method Summary
protected  java.util.Iterator _getProperKeys()
          Return an iteration over the keys defined by this bundle only, not by its parents.
 java.lang.Object handleGetObject(java.lang.String key)
           
 
Methods inherited from class com.taco.util.CachedKeysResourceBundle
getKeys, getUseSoftCache, invalidateCache, setUseSoftCache
 
Methods inherited from class com.taco.util.AccessibleResourceBundle
getLocale, getParent, setLocale, setParent
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getObject, getString, getStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_properties

protected final MultiLineProperties _properties
The properties that back this instance.

Constructor Detail

MultiLinePropertyResourceBundle

public MultiLinePropertyResourceBundle(java.io.InputStream in)
                                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

handleGetObject

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

_getProperKeys

protected java.util.Iterator _getProperKeys()
Description copied from class: CachedKeysResourceBundle
Return an iteration over the keys defined by this bundle only, not by its parents. This method is called by getKeys().

Specified by:
_getProperKeys in class CachedKeysResourceBundle