org.edg.security.trustmanager
Class CaseInsensitiveProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--org.edg.security.trustmanager.CaseInsensitiveProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class CaseInsensitiveProperties
extends java.util.Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
CaseInsensitiveProperties()
           
CaseInsensitiveProperties(java.util.Properties defaults)
          Creates a new instance of CaseInsensitiveProperties
 
Method Summary
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
 void load(java.io.InputStream inputStream)
          Loads the properties from the stream inputStream.
 void loadProperties(java.util.Properties inProperties)
          Loads the properties from inProperties into this instance.
 java.lang.Object remove(java.lang.Object keyObj)
           
 java.lang.Object setProperty(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.util.Properties
list, list, 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, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseInsensitiveProperties

public CaseInsensitiveProperties(java.util.Properties defaults)
Creates a new instance of CaseInsensitiveProperties


CaseInsensitiveProperties

public CaseInsensitiveProperties()
Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)
Overrides:
getProperty in class java.util.Properties

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)
Overrides:
getProperty in class java.util.Properties

setProperty

public java.lang.Object setProperty(java.lang.String key,
                                    java.lang.String value)
Overrides:
setProperty in class java.util.Properties

load

public void load(java.io.InputStream inputStream)
          throws java.io.IOException
Loads the properties from the stream inputStream.

Overrides:
load in class java.util.Properties
java.io.IOException

loadProperties

public void loadProperties(java.util.Properties inProperties)
Loads the properties from inProperties into this instance. The defaults from inProperties are loaded first and the non-default properties are set after that. Thus default setting (Key1=value1) is overridden with non-default setting (key1=value2).


remove

public java.lang.Object remove(java.lang.Object keyObj)
                        throws java.lang.IllegalArgumentException
Specified by:
remove in interface java.util.Map
Overrides:
remove in class java.util.Hashtable
java.lang.IllegalArgumentException