org.pf.settings.impl
Class SettingsImpl

java.lang.Object
  extended by org.pf.settings.impl.GenericSettingsImpl
      extended by org.pf.settings.impl.SettingsImpl
All Implemented Interfaces:
CaseSensitivity, ReadOnlySettings, Settings

public class SettingsImpl
extends GenericSettingsImpl

An instance of this class holds a indefinite number of settings. The structure is, that there is a category with any number of key/value pairs inside. A key is unique in one category but may occur several times in different categories.
If a category of null is passed to any method, the default category will be taken instead. A SettingsWriter must treat the default category as not existent and write all its key/value pairs directly without any category. The default category can be recognized by its empty name ("").

Version:
2.0
Author:
Manfred Duchrow

Field Summary
 
Fields inherited from class org.pf.settings.impl.GenericSettingsImpl
DEFAULT_CATEGORY_NAME
 
Constructor Summary
SettingsImpl()
          Create a new instance.
SettingsImpl(java.lang.String aName)
          Create a new instance with the specified name.
 
Method Summary
 
Methods inherited from class org.pf.settings.impl.GenericSettingsImpl
defaultSettings, getCaseSensitive, getCategoryNames, getDefaults, getKeyNamesOf, getKeyNamesOfDefaultCategory, getName, getSettingsNameOf, getSettingsNameOf, getValueOf, getValueOf, removeCategory, removeDefaultCategory, removeKey, removeKey, setCaseSensitive, setDefaults, setName, setValueOf, setValueOf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsImpl

public SettingsImpl()
Create a new instance.


SettingsImpl

public SettingsImpl(java.lang.String aName)
Create a new instance with the specified name.