Package | Description |
---|---|
com.atlassian.confluence.util |
Modifier and Type | Method and Description |
---|---|
UserAgentUtil.BrowserMajorVersion |
UserAgentUtil.Browser.getBrowserMajorVersion() |
static UserAgentUtil.BrowserMajorVersion |
UserAgentUtil.BrowserMajorVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgentUtil.BrowserMajorVersion[] |
UserAgentUtil.BrowserMajorVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
UserAgentUtil.isBrowserMajorVersion(@NonNull UserAgentUtil.BrowserMajorVersion browserMajorVersion)
Checks if the current user agent is part of the browser family and has the major version of the given version
|
Constructor and Description |
---|
Browser(UserAgentUtil.BrowserFamily browserFamily,
UserAgentUtil.BrowserMajorVersion browserMajorVersion,
String browserMinorVersion) |
Copyright © 2003–2021 Atlassian. All rights reserved.