Package eu.webtoolkit.jwt
Enum WEnvironment.UserAgent
java.lang.Object
java.lang.Enum<WEnvironment.UserAgent>
eu.webtoolkit.jwt.WEnvironment.UserAgent
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WEnvironment.UserAgent>
,java.lang.constant.Constable
- Enclosing class:
- WEnvironment
public static enum WEnvironment.UserAgent extends java.lang.Enum<WEnvironment.UserAgent>
An enumeration type for specific user agent.
- See Also:
WEnvironment.getAgent()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description Arora
Arora.BotAgent
Bot user agent.Chrome0
Chrome 0.Chrome1
Chrome 1.Chrome2
Chrome 2.Chrome3
Chrome 3.Chrome4
Chrome 4.Chrome5
Chrome 5 or later.Edge
Edge.Firefox
Firefox 2 or older.Firefox3_0
Firefox 3.0.Firefox3_1
Firefox 3.1.Firefox3_1b
Firefox 3.1b.Firefox3_5
Firefox 3.5.Firefox3_6
Firefox 3.6.Firefox4_0
Firefox 4.0.Firefox5_0
Firefox 5.0 or later.Gecko
Gecko.IE10
Internet Explorer 10.IE11
Internet Explorer 11.IE6
Internet Explorer 6.IE7
Internet Explorer 7.IE8
Internet Explorer 8.IE9
Internet Explorer 9.IEMobile
Internet Explorer Mobile, or Internet Explorer 5 or older.Konqueror
Konqueror.MobileWebKit
Mobile WebKit.MobileWebKitAndroid
Mobile WebKit Android.MobileWebKitiPhone
Mobile WebKit iPhone/iPad.Opera
Opera.Opera10
Opera 10 or later.Safari
Safari 2 or older.Safari3
Safari 3.Safari4
Safari 4 or later.Unknown
Unknown user agent.WebKit
WebKit. -
Method Summary
Modifier and Type Method Description int
getValue()
Returns the numerical representation of this enum.static WEnvironment.UserAgent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WEnvironment.UserAgent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
Unknown
Unknown user agent. -
IEMobile
Internet Explorer Mobile, or Internet Explorer 5 or older. -
IE6
Internet Explorer 6. -
IE7
Internet Explorer 7. -
IE8
Internet Explorer 8. -
IE9
Internet Explorer 9. -
IE10
Internet Explorer 10. -
IE11
Internet Explorer 11. -
Edge
Edge. -
Opera
Opera. -
Opera10
Opera 10 or later. -
WebKit
WebKit. -
Safari
Safari 2 or older. -
Safari3
Safari 3. -
Safari4
Safari 4 or later. -
Chrome0
Chrome 0. -
Chrome1
Chrome 1. -
Chrome2
Chrome 2. -
Chrome3
Chrome 3. -
Chrome4
Chrome 4. -
Chrome5
Chrome 5 or later. -
Arora
Arora. -
MobileWebKit
Mobile WebKit. -
MobileWebKitiPhone
Mobile WebKit iPhone/iPad. -
MobileWebKitAndroid
Mobile WebKit Android. -
Konqueror
Konqueror. -
Gecko
Gecko. -
Firefox
Firefox 2 or older. -
Firefox3_0
Firefox 3.0. -
Firefox3_1
Firefox 3.1. -
Firefox3_1b
Firefox 3.1b. -
Firefox3_5
Firefox 3.5. -
Firefox3_6
Firefox 3.6. -
Firefox4_0
Firefox 4.0. -
Firefox5_0
Firefox 5.0 or later. -
BotAgent
Bot user agent.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()Returns the numerical representation of this enum.
-