|
||||||||||
| 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,
java.lang.String version)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBinaryPath()
The full path of the currently running binary. |
java.lang.String |
getCoreVersion()
Which Core version this instance is running, e.g. |
java.lang.String |
getOperatingSystem()
Gets a string which describes the operating system the connected Opera instance is running on. |
java.lang.Integer |
getProcessID()
Gets the process ID of connected Opera instance. |
java.lang.String |
getProduct()
A string which describes the product. |
java.lang.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,
java.lang.String version)
| Method Detail |
|---|
public void init()
init in interface ICoreUtilspublic boolean hasMetaInformation()
ICoreUtils
hasMetaInformation in interface ICoreUtilspublic java.lang.String getCoreVersion()
ICoreUtils
getCoreVersion in interface ICoreUtilspublic java.lang.String getOperatingSystem()
ICoreUtils
getOperatingSystem in interface ICoreUtilspublic java.lang.String getProduct()
ICoreUtils
getProduct in interface ICoreUtilspublic java.lang.String getBinaryPath()
ICoreUtils
getBinaryPath in interface ICoreUtilspublic java.lang.String getUserAgent()
ICoreUtils
getUserAgent in interface ICoreUtilspublic java.lang.Integer getProcessID()
ICoreUtils
getProcessID in interface ICoreUtils
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||