|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPrefs
| Method Summary | |
|---|---|
java.lang.String |
getPref(java.lang.String section,
java.lang.String key,
PrefsProtos.GetPrefArg.Mode mode)
Gets a preference from the operaprefs.ini from a specific section. |
void |
init()
|
java.util.List<PrefsProtos.Pref> |
listPrefs(java.lang.Boolean sort,
java.lang.String section)
Lists the preferences in a specific section from operaprefs.ini. |
void |
setPrefs(java.lang.String section,
java.lang.String key,
java.lang.String value)
Sets a preference in operaprefs.ini in a specific section. |
| Method Detail |
|---|
void init()
java.lang.String getPref(java.lang.String section,
java.lang.String key,
PrefsProtos.GetPrefArg.Mode mode)
section - section to get the preference fromkey - key in the sectionmode - get the current or default setting of the preference
java.util.List<PrefsProtos.Pref> listPrefs(java.lang.Boolean sort,
java.lang.String section)
sort - if true returned list is sortedsection - list prefs in this section
void setPrefs(java.lang.String section,
java.lang.String key,
java.lang.String value)
section - the section namekey - the key in the sectionvalue - value to set this preference to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||