public static enum OperaMobileEmulation.UserAgent extends Enum<OperaMobileEmulation.UserAgent>
| Modifier and Type | Method and Description |
|---|---|
static OperaMobileEmulation.UserAgent |
find(String uaString) |
String |
toString() |
static OperaMobileEmulation.UserAgent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperaMobileEmulation.UserAgent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperaMobileEmulation.UserAgent ANDROID
public static final OperaMobileEmulation.UserAgent DESKTOP
public static final OperaMobileEmulation.UserAgent MEEGO
public static final OperaMobileEmulation.UserAgent S60
public static OperaMobileEmulation.UserAgent[] values()
for (OperaMobileEmulation.UserAgent c : OperaMobileEmulation.UserAgent.values()) System.out.println(c);
public static OperaMobileEmulation.UserAgent 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 toString()
toString in class Enum<OperaMobileEmulation.UserAgent>public static OperaMobileEmulation.UserAgent find(String uaString)
Copyright © 2012. All Rights Reserved.