org.apache.myfaces.tobago.context
Class UserAgent

java.lang.Object
  extended by org.apache.myfaces.tobago.context.UserAgent
All Implemented Interfaces:
java.io.Serializable

public class UserAgent
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static UserAgent DEFAULT
           
static java.lang.String DEFAULT_NAME
           
static UserAgent MOZILLA
           
static UserAgent MOZILLA_4_7
           
static UserAgent MOZILLA_5_0
           
static UserAgent MOZILLA_5_0_FF_2
          Firefox 2
static UserAgent MOZILLA_5_0_R1_6
           
static UserAgent MSIE
           
static UserAgent MSIE_5_0
           
static UserAgent MSIE_5_0_MAC
           
static UserAgent MSIE_5_5
           
static UserAgent MSIE_6_0
           
static UserAgent MSIE_6_0_MAC
           
static UserAgent MSIE_7_0
           
static UserAgent MSIE_7_O
          Deprecated. spell error, use MSIE_7_0
static UserAgent OPERA
           
static UserAgent OPERA_5_0
           
static UserAgent OPERA_6_0
           
static UserAgent OPERA_7_11
           
 
Method Summary
 java.util.List<java.lang.String> getFallbackList()
           
static UserAgent getInstance(java.lang.String header)
           
static UserAgent getInstanceForId(java.lang.String id)
           
 boolean isMozilla()
           
 boolean isMsie()
           
 boolean isMsie6()
           
 java.lang.String toString()
          Deprecated. don't use toString() functionallity!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final java.lang.String DEFAULT_NAME
See Also:
Constant Field Values

DEFAULT

public static final UserAgent DEFAULT

MSIE

public static final UserAgent MSIE

MSIE_5_0

public static final UserAgent MSIE_5_0

MSIE_5_5

public static final UserAgent MSIE_5_5

MSIE_6_0

public static final UserAgent MSIE_6_0

MSIE_7_0

public static final UserAgent MSIE_7_0

MSIE_7_O

@Deprecated
public static final UserAgent MSIE_7_O
Deprecated. spell error, use MSIE_7_0

MSIE_5_0_MAC

public static final UserAgent MSIE_5_0_MAC

MSIE_6_0_MAC

public static final UserAgent MSIE_6_0_MAC

OPERA

public static final UserAgent OPERA

OPERA_5_0

public static final UserAgent OPERA_5_0

OPERA_6_0

public static final UserAgent OPERA_6_0

OPERA_7_11

public static final UserAgent OPERA_7_11

MOZILLA

public static final UserAgent MOZILLA

MOZILLA_4_7

public static final UserAgent MOZILLA_4_7

MOZILLA_5_0

public static final UserAgent MOZILLA_5_0

MOZILLA_5_0_R1_6

public static final UserAgent MOZILLA_5_0_R1_6

MOZILLA_5_0_FF_2

public static final UserAgent MOZILLA_5_0_FF_2
Firefox 2

Method Detail

isMsie

public boolean isMsie()

isMsie6

public boolean isMsie6()

isMozilla

public boolean isMozilla()

getFallbackList

public java.util.List<java.lang.String> getFallbackList()

getInstance

public static UserAgent getInstance(java.lang.String header)

getInstanceForId

public static UserAgent getInstanceForId(java.lang.String id)

toString

public java.lang.String toString()
Deprecated. don't use toString() functionallity!

Overrides:
toString in class java.lang.Object


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.