net.sourceforge.wurfl.core.matchers
Class WindowsCEMatcher
java.lang.Object
net.sourceforge.wurfl.core.matchers.AbstractMatcher
net.sourceforge.wurfl.core.matchers.WindowsCEMatcher
- All Implemented Interfaces:
- Matcher, ResourcePaths
public final class WindowsCEMatcher
- extends AbstractMatcher
- Version:
- $Id: WindowsCEMatcher.java 934 2012-03-27 13:34:26Z fulvio.crivellaro $
WindowsCEMatcher
public WindowsCEMatcher(UserAgentNormalizer normalizer)
- Build AbstractMatcher by handler and collected devices by user-agent.
- Parameters:
normalizer -
canHandle
public boolean canHandle(WURFLRequest request)
- Description copied from interface:
Matcher
- Return if this matcher can handle given request.
lookForMatchingUserAgent
protected String lookForMatchingUserAgent(String userAgent)
- Apply LD(3).
- Overrides:
lookForMatchingUserAgent in class AbstractMatcher
- Parameters:
userAgent - The user-agent to match against.
- Returns:
- The collected user-agent matching with given user-agent.
applyRecoveryMatch
public String applyRecoveryMatch(WURFLRequest request)
- return "generic_ms_mobile_browser_ver1"
- 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.