net.sourceforge.wurfl.core.matchers
Class GoogleTvMatcher
java.lang.Object
net.sourceforge.wurfl.core.matchers.AbstractMatcher
net.sourceforge.wurfl.core.matchers.AbstractSmartTVMatcher
net.sourceforge.wurfl.core.matchers.GoogleTvMatcher
- All Implemented Interfaces:
- Matcher, ResourcePaths
public final class GoogleTvMatcher
- extends AbstractSmartTVMatcher
- Version:
- $Id: GoogleTvMatcher.java 784 2012-02-09 14:29:21Z fulvio.crivellaro $
GoogleTvMatcher
public GoogleTvMatcher(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.
applyRecoveryMatch
protected String applyRecoveryMatch(WURFLRequest request)
- if this matcher can handle the UA, this is the result for sure
- 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.