public class ResolverUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isMobile(Device device,
SitePreference sitePreference)
Should the combination of
Device and SitePreference be handled
as a mobile device |
static boolean |
isNormal(Device device,
SitePreference sitePreference)
Should the combination of
Device and SitePreference be handled
as a normal device |
static boolean |
isTablet(Device device,
SitePreference sitePreference)
Should the combination of
Device and SitePreference be handled
as a tablet device |
public static boolean isNormal(Device device, SitePreference sitePreference)
Device
and SitePreference
be handled
as a normal devicedevice
- the resolved devicesitePreference
- the specified site preferencepublic static boolean isMobile(Device device, SitePreference sitePreference)
Device
and SitePreference
be handled
as a mobile devicedevice
- the resolved devicesitePreference
- the specified site preferencepublic static boolean isTablet(Device device, SitePreference sitePreference)
Device
and SitePreference
be handled
as a tablet devicedevice
- the resolved devicesitePreference
- the specified site preference