org.apache.felix.cm.impl
Class CaseInsensitiveDictionary

java.lang.Object
  extended by java.util.Dictionary
      extended by org.apache.felix.cm.impl.CaseInsensitiveDictionary

public class CaseInsensitiveDictionary
extends java.util.Dictionary

The CaseInsensitiveDictionary is a java.util.Dictionary which conforms to the requirements laid out by the Configuration Admin Service Specification requiring the property names to keep case but to ignore case when accessing the properties.


Constructor Summary
CaseInsensitiveDictionary()
           
CaseInsensitiveDictionary(java.util.Dictionary props)
           
 
Method Summary
 java.util.Enumeration elements()
           
 java.lang.Object get(java.lang.Object key)
           
 boolean isEmpty()
           
 java.util.Enumeration keys()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseInsensitiveDictionary

public CaseInsensitiveDictionary()

CaseInsensitiveDictionary

public CaseInsensitiveDictionary(java.util.Dictionary props)
Method Detail

elements

public java.util.Enumeration elements()
Specified by:
elements in class java.util.Dictionary

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in class java.util.Dictionary

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class java.util.Dictionary

keys

public java.util.Enumeration keys()
Specified by:
keys in class java.util.Dictionary

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Specified by:
put in class java.util.Dictionary

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in class java.util.Dictionary

size

public int size()
Specified by:
size in class java.util.Dictionary

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.