sunlabs.brazil.handler
Class UrlMapperHandler.MapProperties

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.handler.UrlMapperHandler.MapProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
Enclosing class:
UrlMapperHandler

public class UrlMapperHandler.MapProperties
extends Properties

Look in a dictionary first, then the provided properties. XXX There are lots of little classes like this sprinkled throught the code. They should be consolidated. This is for Format.subst, and is not a complete implementation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
UrlMapperHandler.MapProperties(Properties props, Dictionary dict)
           
 
Method Summary
 void addItem(String name, String value)
           
 String getProperty(String key)
           
 String getProperty(String key, String dflt)
           
 
Methods inherited from class java.util.Properties
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, get, 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

UrlMapperHandler.MapProperties

public UrlMapperHandler.MapProperties(Properties props,
                                      Dictionary dict)
Method Detail

addItem

public void addItem(String name,
                    String value)

getProperty

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

getProperty

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