org.pf.settings
Interface SettingsReader

All Known Subinterfaces:
SettingsFileReader
All Known Implementing Classes:
AbstractSettingsFileReaderWriter, AbstractSettingsReaderWriter, HttpdConfReaderWriter, IniReaderWriter, ManifestReaderWriter, PropertiesReaderWriter

public interface SettingsReader

Defines the interface a class must implement to be a reader for settings.


Method Summary
 Settings loadSettings()
          Returns a newly created Settings object filled with the data from the datastore the implementer supports.
 Settings loadSettings(java.lang.Class settingsClass)
          Returns a newly created Settings object filled with the data from the datastore the implementer supports.
 

Method Detail

loadSettings

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

Returns:
New settings filled with the data from the datastore

loadSettings

Settings loadSettings(java.lang.Class settingsClass)
Returns a newly created Settings object filled with the data from the datastore the implementer supports.

Parameters:
settingsClass - The class of which an instance should be created and returned
Returns:
An instance of the given class filled with the data from the datastore