java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
org.apache.derby.iapi.util.DoubleProperties
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public final class DoubleProperties
- extends java.util.Properties
A properties object that links two independent
properties together. The read property set is always
searched first, with the write property set being
second. But any put() calls are always made directly to
the write object.
Only the put(), keys() and getProperty() methods are supported
by this class.
| Nested classes inherited from class java.util.Hashtable |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.Hashtable |
|
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
read
private final java.util.Properties read
write
private final java.util.Properties write
DoubleProperties
public DoubleProperties(java.util.Properties read,
java.util.Properties write)
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Description copied from class:
java.util.Hashtable
- Puts the supplied value into the Map, mapped by the supplied key.
Neither parameter may be null. The value may be retrieved by any
object which
equals() this key.
getProperty
public java.lang.String getProperty(java.lang.String key)
- Description copied from class:
java.util.Properties
- Gets the property with the specified key in this property list.
If the key is not found, the default property list is searched.
If the property is not found in the default, null is returned.
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
- Description copied from class:
java.util.Properties
- Gets the property with the specified key in this property list. If
the key is not found, the default property list is searched. If the
property is not found in the default, the specified defaultValue is
returned.
propertyNames
public java.util.Enumeration propertyNames()
- Description copied from class:
java.util.Properties
- Returns an enumeration of all keys in this property list, including
the keys in the default property list.