org.apache.directory.api.util
Class PreferencesDictionary
java.lang.Object
java.util.Dictionary<String,String>
org.apache.directory.api.util.PreferencesDictionary
public class PreferencesDictionary
- extends Dictionary<String,String>
A wrapper around Preferences to access it as a Dictionary.
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferencesDictionary
public PreferencesDictionary(Preferences prefs)
getPreferences
public 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 Dictionary<String,String>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in class Dictionary<String,String>
elements
public Enumeration<String> elements()
- Specified by:
elements in class Dictionary<String,String>
keys
public Enumeration<String> keys()
- Specified by:
keys in class Dictionary<String,String>
get
public String get(Object key)
- Specified by:
get in class Dictionary<String,String>
remove
public String remove(Object key)
- Specified by:
remove in class Dictionary<String,String>
put
public String put(String key,
String value)
- Specified by:
put in class Dictionary<String,String>
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.