public enum BrowserFamily extends java.lang.Enum<BrowserFamily>
Enum Constant and Description |
---|
ANDROID
The default Android browser, by Google.
|
CHROME
The Chrome browser by Google.
|
FIREFOX
The Firefox browser by Mozilla.
|
IE
The Internet Explorer browser, default one on Windows, by Microsoft.
|
IOS
Mobile Safari, the default browser on iPhones and iPads, by Apple.
|
KHTML
A browser based on KHTML, an ancestor of WebKit.
|
LIBRARY
Another browser not popular enough to warrant a place in this enum.
|
NETFRONT
NetFront, the mobile web browser by Access Co., Ltd.
|
NEW_OPERA
Opera, by Opera Software, with the WebKit/Blink rendering engine
|
OPERA
Opera, by Opera Software
|
OTHER
Another browser not popular enough to warrant a place in this enum.
|
OTHER_GECKO
A browser based on Firefox's rendering engine, Gecko.
|
OTHER_TRIDENT
A browser based on Internet Explorer's rendering engine, Trident.
|
OTHER_WEBKIT
A browser based on the WebKit rendering engine other than Safari or Chrome.
|
SAFARI
Safari, the browser by Apple
|
TEXTBASED
A text-based browser, such as Links or Lynx.
|
UNKNOWN
Unknown browser
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
boolean |
isGecko() |
boolean |
isRobot() |
boolean |
isTrident() |
boolean |
isWebKit() |
java.lang.String |
toString() |
static BrowserFamily |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrowserFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserFamily IE
public static final BrowserFamily FIREFOX
public static final BrowserFamily CHROME
public static final BrowserFamily OPERA
public static final BrowserFamily NEW_OPERA
public static final BrowserFamily IOS
public static final BrowserFamily ANDROID
public static final BrowserFamily SAFARI
public static final BrowserFamily OTHER_GECKO
public static final BrowserFamily OTHER_WEBKIT
public static final BrowserFamily OTHER_TRIDENT
public static final BrowserFamily KHTML
public static final BrowserFamily NETFRONT
public static final BrowserFamily TEXTBASED
public static final BrowserFamily LIBRARY
public static final BrowserFamily OTHER
public static final BrowserFamily UNKNOWN
public static BrowserFamily[] values()
for (BrowserFamily c : BrowserFamily.values()) System.out.println(c);
public static BrowserFamily valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isGecko()
public boolean isTrident()
public boolean isWebKit()
public boolean isRobot()
public java.lang.String toString()
toString
in class java.lang.Enum<BrowserFamily>
public java.lang.String getLabel()