public static enum UserAgent.OS extends Enum<UserAgent.OS>
| Enum Constant and Description |
|---|
BLACKBERRY |
BOT |
DROID |
IOS |
J2ME |
LINUX |
MAC_OS |
SUN_OS |
SYMBIAN |
UNKNOWN |
WIN32 |
WIN64 |
| Modifier and Type | Method and Description |
|---|---|
static UserAgent.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgent.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAgent.OS MAC_OS
public static final UserAgent.OS IOS
public static final UserAgent.OS WIN32
public static final UserAgent.OS WIN64
public static final UserAgent.OS LINUX
public static final UserAgent.OS DROID
public static final UserAgent.OS SYMBIAN
public static final UserAgent.OS BLACKBERRY
public static final UserAgent.OS J2ME
public static final UserAgent.OS SUN_OS
public static final UserAgent.OS BOT
public static final UserAgent.OS UNKNOWN
public static UserAgent.OS[] values()
for (UserAgent.OS c : UserAgent.OS.values()) System.out.println(c);
public static UserAgent.OS 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.