net.sourceforge.wurfl.core.matchers
Class AbstractSmartTVMatcher

java.lang.Object
  extended by net.sourceforge.wurfl.core.matchers.AbstractMatcher
      extended by net.sourceforge.wurfl.core.matchers.AbstractSmartTVMatcher
All Implemented Interfaces:
Matcher, ResourcePaths
Direct Known Subclasses:
AppleTvMatcher, BoxeeTvMatcher, GenericSmartTvMatcher, GoogleTvMatcher

public abstract class AbstractSmartTVMatcher
extends AbstractMatcher

Version:
$Id$

Field Summary
 
Fields inherited from class net.sourceforge.wurfl.core.matchers.AbstractMatcher
DEBUG, detected, inspectionManager, isDebugEnabled, logger, undetected
 
Fields inherited from interface net.sourceforge.wurfl.core.resource.ResourcePaths
CATCH_ALL_RECOVERY_FILE, WURFL_CONFIG_FILE
 
Constructor Summary
AbstractSmartTVMatcher(UserAgentNormalizer normalizer)
          Build AbstractMatcher by handler and collected devices by user-agent.
 
Method Summary
protected  String lookForMatchingUserAgent(String userAgent)
          Match the given user-agent to collected user-agents.
 
Methods inherited from class net.sourceforge.wurfl.core.matchers.AbstractMatcher
applyCatchAllRecoveryMatch, applyConclusiveMatch, applyRecoveryMatch, getFilter, getName, match, normalize, setFilter, setInspectionManager, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sourceforge.wurfl.core.matchers.Matcher
canHandle
 

Constructor Detail

AbstractSmartTVMatcher

public AbstractSmartTVMatcher(UserAgentNormalizer normalizer)
Build AbstractMatcher by handler and collected devices by user-agent.

Parameters:
normalizer -
Method Detail

lookForMatchingUserAgent

protected String lookForMatchingUserAgent(String userAgent)
Description copied from class: AbstractMatcher
Match the given user-agent to collected user-agents.

Apply RIS(FS) to default(first slash).

Overrides:
lookForMatchingUserAgent in class AbstractMatcher
Parameters:
userAgent - The user-agent to match against.
Returns:
The collected user-agent matching with given user-agent.


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.