Method Summary |
|
public static ClientType | getClientType(FacesContext context) This method is used by the Theme. |
public static ClientSniffer | getInstance(FacesContext context) This method gets an instance of this class associated with the
given FacesContext . |
public String | getUserAgent() Get the user agent. |
public int | getUserAgentMajor() Get the user agent major version number. |
public boolean | isGecko() Test if the user agent was generated by Gecko engine. |
public boolean | isIe() Test if the user agent was generated by Internet Explorer. |
public boolean | isIe3() Test if the user agent was generated by Internet Explorer,
version 3.x. |
public boolean | isIe4() Test if the user agent was generated by Internet Explorer,
version 4.x. |
public boolean | isIe5() Test if the user agent was generated by Internet Explorer,
version 5.x. |
public boolean | isIe5up() Test if the user agent was generated by Internet Explorer,
version 5.x or above. |
public boolean | isIe6() Test if the user agent was generated by Internet Explorer,
version 6.x. |
public boolean | isIe6up() Test if the user agent was generated by Internet Explorer,
version 6.x or above. |
public boolean | isNav() Test if the user agent was generated by Navigator. |
public boolean | isNav4() Test if the user agent was generated by Navigator,
version 4.x. |
public boolean | isNav4up() Test if the user agent was generated by Navigator,
version 4.x or above. |
public boolean | isNav6() Test if the user agent was generated by Navigator,
version 6.x. |
public boolean | isNav6up() Test if the user agent was generated by Navigator,
version 6.x or above. |
public boolean | isNav7() Test if the user agent was generated by Navigator,
version 7.x. |
public boolean | isNav70() Test if the user agent was generated by Navigator,
version 7.0. |
public boolean | isNav7up() Test if the user agent was generated by Navigator,
version 7.x or above. |
public boolean | isSun() Test if the user agent was generated on Sun platform. |
public boolean | isWin() Test if the user agent was generated on Windows platform. |
protected void | setUserAgent(FacesContext context) This method initializes the user agent via the supplied
FacesContext . |