Brazil project: Class Request.RechainableProperties
sunlabs.brazil.server
Class Request.RechainableProperties
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--sunlabs.brazil.server.Request.RechainableProperties
All Implemented Interfaces: Cloneable , Map , Serializable
Enclosing class: Request
public static class Request.RechainableProperties extends Properties
The RechainableProperties is similar to a standard
Properties, except that the defaults can be changed
at any time. The defaults for a standard Properties
object can only be set once, when the object is constructed.
It is is useful in a certain set of circumstances to build a chain
of request properties, and be able to insert new sets of properties
anywhere in the chain.
See Also: Serialized Form
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
Request.RechainableProperties
public Request.RechainableProperties ()
Request.RechainableProperties
public Request.RechainableProperties (Properties defaults)
setDefaults
public Properties setDefaults (Properties change)
Set the default properties for this object.
Parameters: change - The new default properties. Use this
with care: no attempt is made to detect loops.
getDefaults
public Properties getDefaults ()
Return the current "default" properties for this object.