org.pf.settings.rw
Class AbstractSettingsReaderWriter

java.lang.Object
  extended by org.pf.settings.rw.AbstractSettingsReaderWriter
All Implemented Interfaces:
SettingsReader, SettingsWriter
Direct Known Subclasses:
AbstractSettingsFileReaderWriter

public abstract class AbstractSettingsReaderWriter
extends java.lang.Object
implements SettingsReader, SettingsWriter

Provides common convenience methods for settings readers and writers

Version:
1.1
Author:
Manfred Duchrow

Constructor Summary
AbstractSettingsReaderWriter()
          Initialize the new instance with default values.
 
Method Summary
 Settings loadSettings()
          Returns a newly created Settings object filled with the data from the datastore the implementer supports.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pf.settings.SettingsReader
loadSettings
 
Methods inherited from interface org.pf.settings.SettingsWriter
storeSettings
 

Constructor Detail

AbstractSettingsReaderWriter

public AbstractSettingsReaderWriter()
Initialize the new instance with default values.

Method Detail

loadSettings

public Settings loadSettings()
Returns a newly created Settings object filled with the data from the datastore the implementer supports.

Specified by:
loadSettings in interface SettingsReader
Returns:
An instance of SettingsImpl filled with the data from the datastore