类 CapabilitiesImpl
java.lang.Object
com.walker.web.agent.impl.CapabilitiesImpl
- 所有已实现的接口:
Capabilities
-
字段概要
从接口继承的字段 com.walker.web.agent.Capabilities
UNKNOWN_BROWSCAP_VALUE -
方法概要
修饰符和类型方法说明booleanReturns the browser value (e.g.Returns the major version of the browser (e.g. 55 in case of Chrome)Returns the browser type (e.g.Returns the device type (e.g.Returns the platform name (e.g.Returns the platform version (e.g. 4.2, 10 depending on what the platform is)getValue(BrowsCapField field) Returns the value for the specified field.Returns the Map of values with the fields passed to the parser while loadinginthashCode()toString()
-
方法详细资料
-
getValue
从接口复制的说明:CapabilitiesReturns the value for the specified field.- 指定者:
getValue在接口中Capabilities- 参数:
field- The field for which the value should be returned.- 返回:
- the value for the specified field.
-
getBrowser
Returns the browser value (e.g. Chrome)- 指定者:
getBrowser在接口中Capabilities- 返回:
- the browser
-
getBrowserType
Returns the browser type (e.g. Browser or Application)- 指定者:
getBrowserType在接口中Capabilities- 返回:
- the browser type
-
getBrowserMajorVersion
Returns the major version of the browser (e.g. 55 in case of Chrome)- 指定者:
getBrowserMajorVersion在接口中Capabilities- 返回:
- the browser major version
-
getPlatform
Returns the platform name (e.g. Android, iOS, Win7, Win10)- 指定者:
getPlatform在接口中Capabilities- 返回:
- the platform
-
getPlatformVersion
Returns the platform version (e.g. 4.2, 10 depending on what the platform is)- 指定者:
getPlatformVersion在接口中Capabilities- 返回:
- the platform version
-
getDeviceType
Returns the device type (e.g. Mobile Phone, Desktop, Tablet, Console, TV Device)- 指定者:
getDeviceType在接口中Capabilities- 返回:
- the device type
-
getValues
Returns the Map of values with the fields passed to the parser while loading- 指定者:
getValues在接口中Capabilities- 返回:
- the map of values
-
hashCode
public int hashCode() -
equals
-
toString
-