sunlabs.brazil.properties
Class SubstPropsHandler.SubstProps

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by sunlabs.brazil.properties.SubstPropsHandler.SubstProps
All Implemented Interfaces:
Serializable, Cloneable, Map
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

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, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
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
Overrides:
get in class Hashtable

getProperty

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

Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.