public class PreferenceManager
extends java.lang.Object
Constructor and Description |
---|
PreferenceManager()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilePath()
Gets the absolute file path of preferenceStore.ini
|
Preference |
getUserPreference()
Retrieves the user preference from preferenceStore.ini file and initializes the preference object
|
boolean |
updateEnableDisableACP(Preference preference)
Updates the new value of preference field, Enable or Disable ACP to file.
|
boolean |
updateUserPreference(Preference preference)
Updates the new values of all fields of preference object to file.
|
public Preference getUserPreference()
public boolean updateEnableDisableACP(Preference preference)
preference
- the preference object to be storedpublic boolean updateUserPreference(Preference preference)
preference
- the preference object to be storedpublic java.lang.String getFilePath()