net.sourceforge.wurfl.core.handlers.matchers
Class WindowsCEMatcher

java.lang.Object
  extended by net.sourceforge.wurfl.core.handlers.matchers.AbstractMatcher
      extended by net.sourceforge.wurfl.core.handlers.matchers.WindowsCEMatcher
All Implemented Interfaces:
Matcher

public class WindowsCEMatcher
extends AbstractMatcher

Version:
$Id: WindowsCEMatcher.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca

Field Summary
 
Fields inherited from class net.sourceforge.wurfl.core.handlers.matchers.AbstractMatcher
detected, logger, undetected
 
Constructor Summary
WindowsCEMatcher(Handler handler)
           
 
Method Summary
 String applyRecoveryMatch(WURFLRequest request)
          return "ms_mobile_browser_ver1"
protected  String lookForMatchingUserAgent(SortedSet userAgentsSet, String userAgent)
          Apply LD(3).
 
Methods inherited from class net.sourceforge.wurfl.core.handlers.matchers.AbstractMatcher
applyCatchAllRecoveryMatch, applyConclusiveMatch, applyRecoveryMatch, canHandle, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsCEMatcher

public WindowsCEMatcher(Handler handler)
Method Detail

lookForMatchingUserAgent

protected String lookForMatchingUserAgent(SortedSet userAgentsSet,
                                          String userAgent)
Apply LD(3).

Overrides:
lookForMatchingUserAgent in class AbstractMatcher
Parameters:
userAgentsSet - A SortedSet of String containing user-agent string naturally ordered.
userAgent - The user-agent to match against.
Returns:
The collected user-agent matching with given user-agent.

applyRecoveryMatch

public String applyRecoveryMatch(WURFLRequest request)
return "ms_mobile_browser_ver1"



Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.