public class ScopePrefs extends AbstractService implements Prefs
servicesSERVICE_NAME| Constructor and Description |
|---|
ScopePrefs(ScopeServices services) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPref(String section,
String key,
PrefsProtos.GetPrefArg.Mode mode)
Gets a preference from the operaprefs.ini from a specific section.
|
void |
init()
Initialize the service.
|
List<PrefsProtos.Pref> |
listPrefs(Boolean sort,
String section)
Lists the preferences in a specific section from operaprefs.ini.
|
void |
setPrefs(String section,
String key,
String value)
Sets a preference in operaprefs.ini in a specific section.
|
buildPayload, executeMessage, executeMessage, executeMessage, getServiceName, getServiceVersion, isVersionInRange, sleep, toString, xpathIterator, xpathPointerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetServiceName, getServiceVersionpublic ScopePrefs(ScopeServices services)
public void init()
Servicepublic String getPref(String section, String key, PrefsProtos.GetPrefArg.Mode mode)
Prefspublic List<PrefsProtos.Pref> listPrefs(Boolean sort, String section)
PrefsCopyright © 2013. All Rights Reserved.