net.fckeditor.tool
Class Compatibility

java.lang.Object
  extended by net.fckeditor.tool.Compatibility

public class Compatibility
extends Object

Checks browser compatibility with the editor.

Version:
$Id: Compatibility.java 3595 2009-06-01 20:02:02Z mosipov $

Constructor Summary
Compatibility()
           
 
Method Summary
static boolean check(String userAgentString)
          Checks if a browser's user agent string is compatible with the FCKeditor.
static boolean isCompatibleBrowser(HttpServletRequest request)
          Returns true if a browser is compatible by its request user-agent header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compatibility

public Compatibility()
Method Detail

check

public static boolean check(String userAgentString)
Checks if a browser's user agent string is compatible with the FCKeditor.

Parameters:
userAgentString - the user agent string of a browser
Returns:
true if compatible, else false

isCompatibleBrowser

public static boolean isCompatibleBrowser(HttpServletRequest request)
Returns true if a browser is compatible by its request user-agent header.

Parameters:
request - current user request instance
Returns:
true if a browser is compatible, else false
See Also:
check(String)


Copyright © 2004-2009 Frederico Caldeira Knabben. All Rights Reserved.