net.sourceforge.wurfl.core.handlers
Class CatchAllHandler

java.lang.Object
  extended by net.sourceforge.wurfl.core.handlers.Handler
      extended by net.sourceforge.wurfl.core.handlers.CatchAllHandler

public class CatchAllHandler
extends Handler

Intercept all user-agent.

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

Constructor Summary
CatchAllHandler()
           
CatchAllHandler(UserAgentNormalizer normalizer)
           
 
Method Summary
 boolean canHandle(String userAgent)
          Returns always true.
 
Methods inherited from class net.sourceforge.wurfl.core.handlers.Handler
isMobileBrowser, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchAllHandler

public CatchAllHandler()

CatchAllHandler

public CatchAllHandler(UserAgentNormalizer normalizer)
Method Detail

canHandle

public boolean canHandle(String userAgent)
Returns always true.

Specified by:
canHandle in class Handler
Parameters:
userAgent - The user-agent to probe.
Returns:
True if this user-agent can be handled, false otherwise.


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