public class UserAgentInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
browser
浏览器信息
|
private String |
platform
操作系统信息
|
| Constructor and Description |
|---|
UserAgentInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBrowser()
获取 浏览器信息
|
String |
getPlatform()
获取 操作系统信息
|
void |
setBrowser(String browser)
设置 浏览器信息
|
void |
setPlatform(String platform)
设置 操作系统信息
|
public String getBrowser()
public void setBrowser(String browser)
browser - 浏览器信息public String getPlatform()
public void setPlatform(String platform)
platform - 操作系统信息Copyright © 2024. All rights reserved.