sunlabs.brazil.handler
Class UrlMapperHandler.MapProperties

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by sunlabs.brazil.handler.UrlMapperHandler.MapProperties
All Implemented Interfaces:
Serializable, Cloneable, Map
Enclosing class:
UrlMapperHandler

public static 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

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, 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, get, 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

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

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