|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.activityspace.utils.BrowserType
public class BrowserType
Utility class for client browser type information.
Field Summary | |
---|---|
static java.lang.String |
CHROME
|
static java.lang.String |
FIREFOX
|
static java.lang.String |
LINUX
|
static java.lang.String |
MACINTOSH
|
static java.lang.String |
MOZILLA
|
static java.lang.String |
MSIE
Constants used by this class. |
static java.lang.String |
NETSCAPE
|
static java.lang.String |
OPERA
|
static java.lang.String |
SAFARI
|
static java.lang.String |
SUNOS
|
static java.lang.String |
UNIX
|
static java.lang.String |
UNKNOWN
|
static java.lang.String |
WINDOWS
|
Constructor Summary | |
---|---|
BrowserType(IXPRequest request)
Constructor |
Method Summary | |
---|---|
java.lang.String |
GetBrowserName()
|
float |
GetBrowserVersion()
NOTE: This only includes the major and minor versions of the browser. |
protected float |
GetVersionNumber(java.lang.String _strAgent)
This helper function attempts to convert the user agent string into a float major/minor version number. |
boolean |
IsChrome()
|
boolean |
IsDragDropLayoutCompliant()
|
boolean |
IsECMAScriptOK()
|
boolean |
IsFirefox()
|
boolean |
IsIE()
|
boolean |
IsJSPortalMenuCompliant()
|
boolean |
IsJSPortletCompliant()
|
boolean |
IsMac()
|
boolean |
IsMozilla()
|
boolean |
IsNetscape()
|
boolean |
IsNetscape4()
|
boolean |
IsNetscape67()
|
boolean |
IsOpera()
|
boolean |
IsSafari()
|
boolean |
IsSunOS()
|
boolean |
IsWindows()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MSIE
public static final java.lang.String OPERA
public static final java.lang.String MOZILLA
public static final java.lang.String NETSCAPE
public static final java.lang.String FIREFOX
public static final java.lang.String SAFARI
public static final java.lang.String CHROME
public static final java.lang.String WINDOWS
public static final java.lang.String UNIX
public static final java.lang.String SUNOS
public static final java.lang.String LINUX
public static final java.lang.String MACINTOSH
public static final java.lang.String UNKNOWN
Constructor Detail |
---|
public BrowserType(IXPRequest request)
Method Detail |
---|
protected float GetVersionNumber(java.lang.String _strAgent)
_strAgent
- The browser user agent string.
XPFormatException
- If the agent string cannot be
converted to a float.public boolean IsECMAScriptOK()
public boolean IsJSPortalMenuCompliant()
public boolean IsJSPortletCompliant()
public boolean IsDragDropLayoutCompliant()
public boolean IsIE()
public boolean IsSafari()
public boolean IsFirefox()
public boolean IsMozilla()
public boolean IsOpera()
public boolean IsNetscape()
public boolean IsNetscape4()
public boolean IsNetscape67()
public boolean IsChrome()
public boolean IsWindows()
public boolean IsMac()
public boolean IsSunOS()
public java.lang.String GetBrowserName()
public float GetBrowserVersion()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |