public enum BrowserType extends Enum<BrowserType>
Enum Constant and Description |
---|
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 |
---|---|
String |
getName() |
static BrowserType |
valueOf(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 UNKNOWN
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType 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 getName()
Copyright © 2018. All rights reserved.