Package org.nuxeo.common.utils
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
html5DndIsSupported(String UA)
static boolean
isChrome(String UA)
static boolean
isFirefox3(String UA)
static boolean
isFirefox4OrMore(String UA)
static boolean
isHistoryPushStateSupported(String UA)
static boolean
isMSEdge(String UA)
static boolean
isMSIE10OrMore(String UA)
static boolean
isMSIE6or7(String UA)
static boolean
isSafari5(String UA)
-
-
-
Method Detail
-
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)
-
-