sunlabs.brazil.properties
Class SubstPropsHandler.SubstProps

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by sunlabs.brazil.properties.SubstPropsHandler.SubstProps
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
Enclosing class:
SubstPropsHandler

public class SubstPropsHandler.SubstProps
extends Properties

This class implements a properties object that knows how to extract the "name" and "filter" from a properly constructed name, and to invoke the filter on the value of the encoded name.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SubstPropsHandler.SubstProps(Request r)
           
 
Method Summary
 Object get(Object key)
          If the key doesn't exist, but the "derived" key and value do exist, then return the substituted value
 String getProperty(String key)
           
 
Methods inherited from class java.util.Properties
getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstPropsHandler.SubstProps

public SubstPropsHandler.SubstProps(Request r)
Method Detail

get

public Object get(Object key)
If the key doesn't exist, but the "derived" key and value do exist, then return the substituted value

Specified by:
get in interface Map<Object,Object>
Overrides:
get in class Hashtable<Object,Object>

getProperty

public String getProperty(String key)
Overrides:
getProperty in class Properties