net.sourceforge.wurfl.core.matchers
Class OperaTabletOnAndroidMatcher
java.lang.Object
net.sourceforge.wurfl.core.matchers.AbstractMatcher
net.sourceforge.wurfl.core.matchers.OperaTabletOnAndroidMatcher
- All Implemented Interfaces:
- Matcher, ResourcePaths
public final class OperaTabletOnAndroidMatcher
- extends AbstractMatcher
- Version:
- $Id: OperaTabletOnAndroidMatcher.java 784 2012-02-09 14:29:21Z fulvio.crivellaro $
OperaTabletOnAndroidMatcher
public OperaTabletOnAndroidMatcher(UserAgentNormalizer normalizer)
- Build AbstractMatcher by handler and collected devices by user-agent.
- Parameters:
normalizer -
canHandle
public boolean canHandle(WURFLRequest request)
- Checks UA contains Opera Tablet
lookForMatchingUserAgent
protected String lookForMatchingUserAgent(String userAgent)
- Search for starting Strings in given collection
- Overrides:
lookForMatchingUserAgent in class AbstractMatcher
- Parameters:
userAgent - The user-agent to match against.
- Returns:
- The collected user-agent matching with given user-agent.
applyRecoveryMatch
protected String applyRecoveryMatch(WURFLRequest request)
- Description copied from class:
AbstractMatcher
- Match the given request using the recovery matching strategy.
- Overrides:
applyRecoveryMatch in class AbstractMatcher
- Parameters:
request - The request to match.
- Returns:
- The device identifier matched from request, at least returns
generic.
Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.