public enum BrowserType extends java.lang.Enum<BrowserType>
Enum Constant and Description |
---|
APP
Application
|
EMAIL_CLIENT
Email client like Thunderbird
|
MOBILE_BROWSER
Special web-browser for mobile devices
|
ROBOT
Search robot, spider, crawler,...
|
TEXT_BROWSER
Text only browser like the good old Lynx
|
TOOL
Downloading tools
|
UNKNOWN |
WEB_BROWSER
Standard web-browser
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static BrowserType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrowserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserType WEB_BROWSER
public static final BrowserType MOBILE_BROWSER
public static final BrowserType TEXT_BROWSER
public static final BrowserType EMAIL_CLIENT
public static final BrowserType ROBOT
public static final BrowserType TOOL
public static final BrowserType APP
public static final BrowserType UNKNOWN
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType 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 java.lang.String getName()