amber.utility
Class SystemProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--amber.utility.SystemProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class SystemProperties
extends java.util.Properties

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SystemProperties()
           
SystemProperties(java.util.Properties defaults)
          Creates an empty property list with the specified defaults.
SystemProperties(SystemProperties defaults)
          Creates an empty property list with the specified defaults.
 
Method Summary
 java.lang.Object setProperty(java.lang.String key, java.lang.String data)
          Sets the property corresponding to the specified key in the property list.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, store
 
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

SystemProperties

public SystemProperties()

SystemProperties

public SystemProperties(java.util.Properties defaults)
Creates an empty property list with the specified defaults.
Parameters:
defaults - the defaults.
Since:
JDK1.0

SystemProperties

public SystemProperties(SystemProperties defaults)
Creates an empty property list with the specified defaults.
Parameters:
defaults - the defaults.
Since:
JDK1.0
Method Detail

setProperty

public java.lang.Object setProperty(java.lang.String key,
                                    java.lang.String data)
Sets the property corresponding to the specified key in the property list.
Overrides:
setProperty in class java.util.Properties
Parameters:
key - String containing the item to set.
data - String containing the data to set the item to.
Returns:
Object containing the old value if any.


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.