public enum EBrowserType extends Enum<EBrowserType> implements com.helger.commons.id.IHasID<String>, com.helger.commons.text.display.IHasDisplayText
| Enum Constant and Description |
|---|
APPLICATION |
CHROME |
FIREFOX |
GECKO |
IE |
KONQUEROR |
LYNX |
MOBILE |
OPERA |
SAFARI |
SPIDER |
VIVALDI |
WEBKIT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayText(Locale aContentLocale) |
static EBrowserType |
getFromIDOrNull(String sID) |
String |
getID() |
static EBrowserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EBrowserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EBrowserType FIREFOX
public static final EBrowserType IE
public static final EBrowserType OPERA
public static final EBrowserType SAFARI
public static final EBrowserType CHROME
public static final EBrowserType LYNX
public static final EBrowserType KONQUEROR
public static final EBrowserType VIVALDI
public static final EBrowserType GECKO
public static final EBrowserType WEBKIT
public static final EBrowserType MOBILE
public static final EBrowserType SPIDER
public static final EBrowserType APPLICATION
public static EBrowserType[] values()
for (EBrowserType c : EBrowserType.values()) System.out.println(c);
public static EBrowserType 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 null@Nonnull public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public String getDisplayText(Locale aContentLocale)
getDisplayText in interface com.helger.commons.text.display.IHasDisplayText@Nullable public static EBrowserType getFromIDOrNull(@Nullable String sID)
Copyright © 2016–2019 Philip Helger. All rights reserved.