Package com.atlassian.confluence.util
Enum UserAgentUtil.BrowserMajorVersion
- java.lang.Object
-
- java.lang.Enum<UserAgentUtil.BrowserMajorVersion>
-
- com.atlassian.confluence.util.UserAgentUtil.BrowserMajorVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<UserAgentUtil.BrowserMajorVersion>
- Enclosing class:
- UserAgentUtil
public static enum UserAgentUtil.BrowserMajorVersion extends Enum<UserAgentUtil.BrowserMajorVersion>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserAgentUtil.BrowserFamily
getBrowserFamily()
String
getMinorVersionPrefix()
String
getUserAgentString()
int
getVersionPos()
static UserAgentUtil.BrowserMajorVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserAgentUtil.BrowserMajorVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GOOGLE
public static final UserAgentUtil.BrowserMajorVersion GOOGLE
-
GOOGLE_BOT
public static final UserAgentUtil.BrowserMajorVersion GOOGLE_BOT
-
MSNBOT
public static final UserAgentUtil.BrowserMajorVersion MSNBOT
-
WEB_CRAWLER
public static final UserAgentUtil.BrowserMajorVersion WEB_CRAWLER
-
MSIE4
public static final UserAgentUtil.BrowserMajorVersion MSIE4
-
MSIE5
public static final UserAgentUtil.BrowserMajorVersion MSIE5
-
MSIE55
public static final UserAgentUtil.BrowserMajorVersion MSIE55
-
MSIE5x
public static final UserAgentUtil.BrowserMajorVersion MSIE5x
-
MSIE6
public static final UserAgentUtil.BrowserMajorVersion MSIE6
-
MSIE7
public static final UserAgentUtil.BrowserMajorVersion MSIE7
-
MSIE8
public static final UserAgentUtil.BrowserMajorVersion MSIE8
-
MSIE9
public static final UserAgentUtil.BrowserMajorVersion MSIE9
-
MSIE10
public static final UserAgentUtil.BrowserMajorVersion MSIE10
-
MSIE_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion MSIE_UNKNOWN
-
FIREFOX15
public static final UserAgentUtil.BrowserMajorVersion FIREFOX15
-
FIREFOX2
public static final UserAgentUtil.BrowserMajorVersion FIREFOX2
-
FIREFOX3
public static final UserAgentUtil.BrowserMajorVersion FIREFOX3
-
FIREFOX31
public static final UserAgentUtil.BrowserMajorVersion FIREFOX31
-
FIREFOX35
public static final UserAgentUtil.BrowserMajorVersion FIREFOX35
-
FIREFOX36
public static final UserAgentUtil.BrowserMajorVersion FIREFOX36
-
FIREFOX4
public static final UserAgentUtil.BrowserMajorVersion FIREFOX4
-
FIREFOX_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion FIREFOX_UNKNOWN
-
SAFARI3
public static final UserAgentUtil.BrowserMajorVersion SAFARI3
-
SAFARI35
public static final UserAgentUtil.BrowserMajorVersion SAFARI35
-
SAFARI4
public static final UserAgentUtil.BrowserMajorVersion SAFARI4
-
SAFARI_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion SAFARI_UNKNOWN
-
CHROME1
public static final UserAgentUtil.BrowserMajorVersion CHROME1
-
CHROME2
public static final UserAgentUtil.BrowserMajorVersion CHROME2
-
CHROME3
public static final UserAgentUtil.BrowserMajorVersion CHROME3
-
CHROME4
public static final UserAgentUtil.BrowserMajorVersion CHROME4
-
CHROME_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion CHROME_UNKNOWN
-
LOTUS_NOTES
public static final UserAgentUtil.BrowserMajorVersion LOTUS_NOTES
-
OPERA6
public static final UserAgentUtil.BrowserMajorVersion OPERA6
-
OPERA7
public static final UserAgentUtil.BrowserMajorVersion OPERA7
-
OPERA8
public static final UserAgentUtil.BrowserMajorVersion OPERA8
-
OPERA9
public static final UserAgentUtil.BrowserMajorVersion OPERA9
-
OPERA10
public static final UserAgentUtil.BrowserMajorVersion OPERA10
-
KONQUEROR1
public static final UserAgentUtil.BrowserMajorVersion KONQUEROR1
-
KONQUEROR2
public static final UserAgentUtil.BrowserMajorVersion KONQUEROR2
-
KONQUEROR3
public static final UserAgentUtil.BrowserMajorVersion KONQUEROR3
-
KONQUEROR4
public static final UserAgentUtil.BrowserMajorVersion KONQUEROR4
-
CAMINO
public static final UserAgentUtil.BrowserMajorVersion CAMINO
-
CHIMERA
public static final UserAgentUtil.BrowserMajorVersion CHIMERA
-
FIREBIRD
public static final UserAgentUtil.BrowserMajorVersion FIREBIRD
-
PHEONIX
public static final UserAgentUtil.BrowserMajorVersion PHEONIX
-
GALEON
public static final UserAgentUtil.BrowserMajorVersion GALEON
-
NETSCAPE4
public static final UserAgentUtil.BrowserMajorVersion NETSCAPE4
-
NETSCAPE6
public static final UserAgentUtil.BrowserMajorVersion NETSCAPE6
-
NETSCAPE7
public static final UserAgentUtil.BrowserMajorVersion NETSCAPE7
-
NETSCAPE_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion NETSCAPE_UNKNOWN
-
GECKO_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion GECKO_UNKNOWN
-
KHTML_UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion KHTML_UNKNOWN
-
UNKNOWN
public static final UserAgentUtil.BrowserMajorVersion UNKNOWN
-
-
Method Detail
-
values
public static UserAgentUtil.BrowserMajorVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserAgentUtil.BrowserMajorVersion c : UserAgentUtil.BrowserMajorVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserAgentUtil.BrowserMajorVersion valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getUserAgentString
public String getUserAgentString()
-
getBrowserFamily
public UserAgentUtil.BrowserFamily getBrowserFamily()
-
getVersionPos
public int getVersionPos()
-
getMinorVersionPrefix
public String getMinorVersionPrefix()
-
-