net.fckeditor.tool
Class Compatibility

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

public class Compatibility
extends java.lang.Object

Compatibility check.

Version:
$Id: Compatibility.java 1763 2008-03-21 14:26:06Z th-schwarz $

Constructor Summary
Compatibility()
           
 
Method Summary
static boolean check(java.lang.String userAgentString)
          Checks, if a browser's user agent string is compatible for the FCKeditor.
static boolean isCompatibleBrowser(javax.servlet.http.HttpServletRequest request)
          Just a wrapper to check(String).
 
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(java.lang.String userAgentString)
Checks, if a browser's user agent string is compatible for the FCKeditor.
Adapted from: http://dev.fckeditor.net/browser/FCKeditor/releases/stable/fckeditor.php

Parameters:
userAgentString -
Returns:
true, if compatible, otherwise false

isCompatibleBrowser

public static boolean isCompatibleBrowser(javax.servlet.http.HttpServletRequest request)
Just a wrapper to check(String).

Parameters:
request -


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