org.apache.directory.shared.ldap.util
Class PreferencesDictionary
java.lang.Object
java.util.Dictionary
org.apache.directory.shared.ldap.util.PreferencesDictionary
public class PreferencesDictionary
- extends java.util.Dictionary
A wrapper around Preferences to access it as a Dictionary.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
Method Summary |
java.util.Enumeration |
elements()
|
java.lang.Object |
get(java.lang.Object key)
|
java.util.prefs.Preferences |
getPreferences()
Gets the Preferences used as the backing store for this Dictionary. |
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferencesDictionary
public PreferencesDictionary(java.util.prefs.Preferences prefs)
getPreferences
public java.util.prefs.Preferences getPreferences()
- Gets the Preferences used as the backing store for this Dictionary.
- Returns:
- the underlying Preferences object
size
public int size()
- Specified by:
size
in class java.util.Dictionary
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class java.util.Dictionary
elements
public java.util.Enumeration elements()
- Specified by:
elements
in class java.util.Dictionary
keys
public java.util.Enumeration keys()
- Specified by:
keys
in class java.util.Dictionary
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in class java.util.Dictionary
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
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
Copyright © 2004-2010. All Rights Reserved.