org.jasig.portlet.newsreader.service
Class ViewResolverImpl
java.lang.Object
org.jasig.portlet.newsreader.service.AbstractViewResolver
org.jasig.portlet.newsreader.service.ViewResolverImpl
- All Implemented Interfaces:
- IViewResolver
public class ViewResolverImpl
- extends AbstractViewResolver
- Version:
- $Revision$
- Author:
- Jen Bourey
|
Method Summary |
protected boolean |
isMobile(javax.portlet.PortletRequest request)
|
void |
setMobileDeviceRegexes(List<String> patterns)
Set a list of regex patterns for user agents which should be considered
to be mobile devices. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewResolverImpl
public ViewResolverImpl()
setMobileDeviceRegexes
public void setMobileDeviceRegexes(List<String> patterns)
- Set a list of regex patterns for user agents which should be considered
to be mobile devices.
- Parameters:
patterns -
isMobile
protected boolean isMobile(javax.portlet.PortletRequest request)
- Specified by:
isMobile in class AbstractViewResolver
Copyright © 2009-2013 Jasig. All Rights Reserved.