public static enum UserAgent.Browser extends Enum<UserAgent.Browser>
| Enum Constant and Description |
|---|
BOT |
CHROME |
FIREFOX |
FIREFOX_3 |
IE_10 |
IE_11 |
IE_6 |
IE_7 |
IE_8 |
IE_9 |
OPERA |
SAFARI |
UCWEB |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static UserAgent.Browser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgent.Browser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAgent.Browser IE_6
public static final UserAgent.Browser IE_7
public static final UserAgent.Browser IE_8
public static final UserAgent.Browser IE_9
public static final UserAgent.Browser IE_10
public static final UserAgent.Browser IE_11
public static final UserAgent.Browser CHROME
public static final UserAgent.Browser SAFARI
public static final UserAgent.Browser FIREFOX_3
public static final UserAgent.Browser FIREFOX
public static final UserAgent.Browser OPERA
public static final UserAgent.Browser UCWEB
public static final UserAgent.Browser BOT
public static final UserAgent.Browser UNKNOWN
public static UserAgent.Browser[] values()
for (UserAgent.Browser c : UserAgent.Browser.values()) System.out.println(c);
public static UserAgent.Browser 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 nullCopyright © 2017. All Rights Reserved.