Class UserAgentMatcher

java.lang.Object
org.nuxeo.common.utils.UserAgentMatcher

public class UserAgentMatcher extends Object
Helper class to detect Html5 Dnd compliant browsers based on the User Agent string
Author:
Tiry ([email protected]), Thomas Roger
  • Method Details

    • isFirefox3

      public static boolean isFirefox3(String UA)
    • isFirefox4OrMore

      public static boolean isFirefox4OrMore(String UA)
    • isSafari5

      public static boolean isSafari5(String UA)
    • isChrome

      public static boolean isChrome(String UA)
    • html5DndIsSupported

      public static boolean html5DndIsSupported(String UA)
    • isMSIE6or7

      public static boolean isMSIE6or7(String UA)
    • isMSIE10OrMore

      public static boolean isMSIE10OrMore(String UA)
      Since:
      5.9.5
    • isMSEdge

      public static boolean isMSEdge(String UA)
      Since:
      7.4
    • isHistoryPushStateSupported

      public static boolean isHistoryPushStateSupported(String UA)