public static enum UserAgentUtil.BrowserFamily extends Enum<UserAgentUtil.BrowserFamily>
Enum Constant and Description |
---|
CHROME |
FIREFOX |
GECKO |
GOOGLE |
GOOGLE_BOT |
KHTML |
KONQUEROR |
LOTUS_NOTES |
MSIE |
MSNBOT |
NETSCAPE |
OPERA |
SAFARI |
UKNOWN |
WEB_CRAWLER |
Modifier and Type | Method and Description |
---|---|
String |
getUserAgentString() |
static UserAgentUtil.BrowserFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgentUtil.BrowserFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAgentUtil.BrowserFamily GOOGLE
public static final UserAgentUtil.BrowserFamily GOOGLE_BOT
public static final UserAgentUtil.BrowserFamily MSNBOT
public static final UserAgentUtil.BrowserFamily WEB_CRAWLER
public static final UserAgentUtil.BrowserFamily MSIE
public static final UserAgentUtil.BrowserFamily FIREFOX
public static final UserAgentUtil.BrowserFamily CHROME
public static final UserAgentUtil.BrowserFamily SAFARI
public static final UserAgentUtil.BrowserFamily OPERA
public static final UserAgentUtil.BrowserFamily GECKO
public static final UserAgentUtil.BrowserFamily LOTUS_NOTES
public static final UserAgentUtil.BrowserFamily NETSCAPE
public static final UserAgentUtil.BrowserFamily KONQUEROR
public static final UserAgentUtil.BrowserFamily KHTML
public static final UserAgentUtil.BrowserFamily UKNOWN
public static UserAgentUtil.BrowserFamily[] values()
for (UserAgentUtil.BrowserFamily c : UserAgentUtil.BrowserFamily.values()) System.out.println(c);
public static UserAgentUtil.BrowserFamily valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getUserAgentString()
Copyright © 2003–2017 Atlassian. All rights reserved.