org.apache.derby.iapi.util
Class DoubleProperties

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byorg.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.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Field Summary
private  java.util.Properties read
           
private  java.util.Properties write
           
 
Fields inherited from class java.util.Properties
defaults
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
DoubleProperties(java.util.Properties read, java.util.Properties write)
           
 
Method Summary
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
 java.util.Enumeration propertyNames()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.util.Properties
list, list, load, save, setProperty, store
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

read

private final java.util.Properties read

write

private final java.util.Properties write
Constructor Detail

DoubleProperties

public DoubleProperties(java.util.Properties read,
                        java.util.Properties write)
Method Detail

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)

getProperty

public java.lang.String getProperty(java.lang.String key)

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)

propertyNames

public java.util.Enumeration propertyNames()


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.