|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.scope.AbstractService
com.opera.core.systems.scope.services.ums.CoreUtils
public class CoreUtils
| Field Summary |
|---|
| Fields inherited from class com.opera.core.systems.scope.AbstractService |
|---|
services |
| Constructor Summary | |
|---|---|
CoreUtils(ScopeServices services,
String version)
|
|
| Method Summary | |
|---|---|
void |
clearPrivateData(List<CoreProtos.ClearFlags> flags)
Clears specified browser data. |
void |
clearPrivateData(OperaDriver.PrivateData... flags)
|
String |
getBinaryPath()
The full path of the currently running binary. |
String |
getCoreVersion()
Which Core version this instance is running, e.g. |
String |
getOperatingSystem()
Gets a string which describes the operating system the connected Opera instance is running on. |
Integer |
getProcessID()
Gets the process ID of connected Opera instance. |
String |
getProduct()
A string which describes the product. |
String |
getUserAgent()
Gets the User-Agent string, typically something like "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01" |
boolean |
hasMetaInformation()
Whether this version of the CoreUtils service supports getting metadata. |
void |
init()
|
| Methods inherited from class com.opera.core.systems.scope.AbstractService |
|---|
buildPayload, executeCommand, executeCommand, getVersion, isVersionInRange, sleep, xpathIterator, xpathPointer, xpathQuery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoreUtils(ScopeServices services,
String version)
| Method Detail |
|---|
public void init()
init in interface ICoreUtilspublic boolean hasMetaInformation()
ICoreUtils
hasMetaInformation in interface ICoreUtilspublic String getCoreVersion()
ICoreUtils
getCoreVersion in interface ICoreUtilspublic String getOperatingSystem()
ICoreUtils
getOperatingSystem in interface ICoreUtilspublic String getProduct()
ICoreUtils
getProduct in interface ICoreUtilspublic String getBinaryPath()
ICoreUtils
getBinaryPath in interface ICoreUtilspublic String getUserAgent()
ICoreUtils
getUserAgent in interface ICoreUtilspublic Integer getProcessID()
ICoreUtils
getProcessID in interface ICoreUtilspublic void clearPrivateData(List<CoreProtos.ClearFlags> flags)
ICoreUtils
clearPrivateData in interface ICoreUtilsflags - list of private data to be clearedpublic void clearPrivateData(OperaDriver.PrivateData... flags)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||