public enum Browser extends Enum<Browser>
| 限定符和类型 | 方法和说明 |
|---|---|
com.buession.lang.BrowserType |
getBrowserType() |
com.buession.lang.Browser.Manufacturer |
getManufacturer() |
String |
getName() |
com.buession.lang.RenderingEngine |
getRenderingEngine() |
String |
getVersion() |
static Browser |
parse(String userAgent) |
String |
toString() |
static Browser |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Browser[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Browser IE
public static final Browser EDGE
public static final Browser CHROME
public static final Browser FIREFOX
public static final Browser SAFARI
public static final Browser OPERA_COAST
public static final Browser OPERA
public static final Browser MOZILLA
public static final Browser DOLFIN2
public static final Browser CAMINO
public static final Browser LOTUS_NOTES
public static final Browser OMNIWEB
public static final Browser FLOCK
public static final Browser VIVALDI
public static final Browser SEAMONKEY
public static final Browser BOT
public static final Browser CFNETWORK
public static final Browser EUDORA
public static final Browser POCOMAIL
public static final Browser THEBAT
public static final Browser SILK
public static final Browser BLACKBERRY
public static final Browser NETFRONT
public static final Browser EVOLUTION
public static final Browser LYNX
public static final Browser KONQUEROR
public static final Browser XBOX
public static final Browser THUNDERBIRD
public static final Browser UNKNOWN
public static Browser[] values()
for (Browser c : Browser.values()) System.out.println(c);
public static Browser valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getName()
public com.buession.lang.BrowserType getBrowserType()
public com.buession.lang.RenderingEngine getRenderingEngine()
public com.buession.lang.Browser.Manufacturer getManufacturer()
public String getVersion()
Copyright © 2023 buession.com Inc.. All rights reserved.