config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java
public boolean detectWebkit()
   {
      if ((this.initCompleted == true) ||
               (this.isWebkit == true))
         return this.isWebkit;

      if (userAgent.indexOf(engineWebKit) != -1) {
         return true;
      }
      return false;
   }
public boolean detectWebkit()
   {
      if ((this.initCompleted == true) ||
               (this.isWebkit == true))
         return this.isWebkit;

      if (userAgent.indexOf(engineWebKit) != -1) {
         return true;
      }
      return false;
   }
public boolean detectWebkit ( ) { if ( ( this . initCompleted == true ) || ( this . isWebkit == true ) ) return this . isWebkit ; if ( userAgent . indexOf ( engineWebKit ) != - 1 ) { return true ; } return false ; }
Detects if the current browser is based on WebKit.

@return detection of a WebKit browser
Detects if the current browser is based on WebKit .