net.sourceforge.wurfl.core.matchers
Class MaemoBrowserMatcher
java.lang.Object
net.sourceforge.wurfl.core.matchers.AbstractMatcher
net.sourceforge.wurfl.core.matchers.MaemoBrowserMatcher
- All Implemented Interfaces:
- Matcher, ResourcePaths
public final class MaemoBrowserMatcher
- extends AbstractMatcher
MaemoBrowserMatcher
public MaemoBrowserMatcher(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)
- 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.