public static enum UserAgent.Browser extends Enum<UserAgent.Browser>
| Enum Constant and Description |
|---|
CHROME |
FIREFOX |
MSIE |
OPERA |
OTHER |
SAFARI |
WEBKIT |
| 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 MSIE
public static final UserAgent.Browser FIREFOX
public static final UserAgent.Browser SAFARI
public static final UserAgent.Browser WEBKIT
public static final UserAgent.Browser CHROME
public static final UserAgent.Browser OPERA
public static final UserAgent.Browser OTHER
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 © 2007-2012. All Rights Reserved.