eu.webtoolkit.jwt
Enum WEnvironment.UserAgent

java.lang.Object
  extended by java.lang.Enum<WEnvironment.UserAgent>
      extended by eu.webtoolkit.jwt.WEnvironment.UserAgent
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WEnvironment.UserAgent>
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()

Enum Constant Summary
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.
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.
IE6
          Internet Explorer 6.
IE7
          Internet Explorer 7.
IE8
          Internet Explorer 8.
IE9
          Internet Explorer 9 or later.
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
 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unknown

public static final WEnvironment.UserAgent Unknown
Unknown user agent.


IEMobile

public static final WEnvironment.UserAgent IEMobile
Internet Explorer Mobile, or Internet Explorer 5 or older.


IE6

public static final WEnvironment.UserAgent IE6
Internet Explorer 6.


IE7

public static final WEnvironment.UserAgent IE7
Internet Explorer 7.


IE8

public static final WEnvironment.UserAgent IE8
Internet Explorer 8.


IE9

public static final WEnvironment.UserAgent IE9
Internet Explorer 9 or later.


Opera

public static final WEnvironment.UserAgent Opera
Opera.


Opera10

public static final WEnvironment.UserAgent Opera10
Opera 10 or later.


WebKit

public static final WEnvironment.UserAgent WebKit
WebKit.


Safari

public static final WEnvironment.UserAgent Safari
Safari 2 or older.


Safari3

public static final WEnvironment.UserAgent Safari3
Safari 3.


Safari4

public static final WEnvironment.UserAgent Safari4
Safari 4 or later.


Chrome0

public static final WEnvironment.UserAgent Chrome0
Chrome 0.


Chrome1

public static final WEnvironment.UserAgent Chrome1
Chrome 1.


Chrome2

public static final WEnvironment.UserAgent Chrome2
Chrome 2.


Chrome3

public static final WEnvironment.UserAgent Chrome3
Chrome 3.


Chrome4

public static final WEnvironment.UserAgent Chrome4
Chrome 4.


Chrome5

public static final WEnvironment.UserAgent Chrome5
Chrome 5 or later.


Arora

public static final WEnvironment.UserAgent Arora
Arora.


MobileWebKit

public static final WEnvironment.UserAgent MobileWebKit
Mobile WebKit.


MobileWebKitiPhone

public static final WEnvironment.UserAgent MobileWebKitiPhone
Mobile WebKit iPhone/iPad.


MobileWebKitAndroid

public static final WEnvironment.UserAgent MobileWebKitAndroid
Mobile WebKit Android.


Konqueror

public static final WEnvironment.UserAgent Konqueror
Konqueror.


Gecko

public static final WEnvironment.UserAgent Gecko
Gecko.


Firefox

public static final WEnvironment.UserAgent Firefox
Firefox 2 or older.


Firefox3_0

public static final WEnvironment.UserAgent Firefox3_0
Firefox 3.0.


Firefox3_1

public static final WEnvironment.UserAgent Firefox3_1
Firefox 3.1.


Firefox3_1b

public static final WEnvironment.UserAgent Firefox3_1b
Firefox 3.1b.


Firefox3_5

public static final WEnvironment.UserAgent Firefox3_5
Firefox 3.5.


Firefox3_6

public static final WEnvironment.UserAgent Firefox3_6
Firefox 3.6.


Firefox4_0

public static final WEnvironment.UserAgent Firefox4_0
Firefox 4.0.


Firefox5_0

public static final WEnvironment.UserAgent Firefox5_0
Firefox 5.0 or later.


BotAgent

public static final WEnvironment.UserAgent BotAgent
Bot user agent.

Method Detail

values

public static WEnvironment.UserAgent[] 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 (WEnvironment.UserAgent c : WEnvironment.UserAgent.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WEnvironment.UserAgent valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()
Returns the numerical representation of this enum.