Package org.apache.log4j.chainsaw.prefs
Class MRUFileListPreferenceSaver
java.lang.Object
org.apache.log4j.chainsaw.prefs.MRUFileListPreferenceSaver
- All Implemented Interfaces:
EventListener
,SettingsListener
Loads/Saves the MRU lists from preferences
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final MRUFileListPreferenceSaver
private File
getMRULocation
(File dir) void
loadSettings
(LoadSettingsEvent event) When a request to load Settings has been requested, this method will be invoked by the SettingsManager.void
saveSettings
(SaveSettingsEvent event)
-
Field Details
-
instance
-
-
Constructor Details
-
MRUFileListPreferenceSaver
private MRUFileListPreferenceSaver()
-
-
Method Details
-
getInstance
-
loadSettings
Description copied from interface:SettingsListener
When a request to load Settings has been requested, this method will be invoked by the SettingsManager. The implementing component can query the event for settings, and modify it's internal state based on these settings.- Specified by:
loadSettings
in interfaceSettingsListener
-
saveSettings
- Specified by:
saveSettings
in interfaceSettingsListener
-
getMRULocation
-