public static enum UserAgentHelper.UserAgentType extends Enum<UserAgentHelper.UserAgentType>
| Enum Constant and Description |
|---|
CHROME |
FIREFOX |
IE |
OPERA |
OTHER |
SAFARI |
| Modifier and Type | Method and Description |
|---|---|
static UserAgentHelper.UserAgentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgentHelper.UserAgentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAgentHelper.UserAgentType IE
public static final UserAgentHelper.UserAgentType FIREFOX
public static final UserAgentHelper.UserAgentType CHROME
public static final UserAgentHelper.UserAgentType SAFARI
public static final UserAgentHelper.UserAgentType OPERA
public static final UserAgentHelper.UserAgentType OTHER
public static UserAgentHelper.UserAgentType[] values()
for (UserAgentHelper.UserAgentType c : UserAgentHelper.UserAgentType.values()) System.out.println(c);
public static UserAgentHelper.UserAgentType 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 © 2009–2017 CodeLibs. All rights reserved.