com.opera.core.systems.preferences
Class OperaFilePreferences.FilePreference
java.lang.Object
com.opera.core.systems.preferences.AbstractOperaPreferences.AbstractPreference
com.opera.core.systems.preferences.OperaFilePreferences.FilePreference
- All Implemented Interfaces:
- OperaPreferences.OperaPreference
- Enclosing class:
- OperaFilePreferences
public static class OperaFilePreferences.FilePreference
- extends AbstractOperaPreferences.AbstractPreference
Allows setting Opera preferences in a preference file (typically opera.ini or
operaprefs.ini) as well as keeping the local individual preference cache
up-to-date.
OperaFilePreferences.FilePreference
public OperaFilePreferences.FilePreference(OperaFilePreferences parent,
String section,
String key,
Object value)
setValue
public void setValue(Object value)
- Sets the value of this preference to the given value. Writes the preference to file
immediately after updating the local cache.
- Specified by:
setValue in interface OperaPreferences.OperaPreference- Overrides:
setValue in class AbstractOperaPreferences.AbstractPreference
- Parameters:
value - the new value
convert
public static OperaFilePreferences.FilePreference convert(OperaFilePreferences parent,
OperaPreferences.OperaPreference convertee)
Copyright © 2012. All Rights Reserved.