net.sourceforge.wurfl.core.handlers
Class SamsungHandler
java.lang.Object
net.sourceforge.wurfl.core.handlers.Handler
net.sourceforge.wurfl.core.handlers.SamsungHandler
public class SamsungHandler
- extends Handler
Intercept all UAs containing "Samsung/SGH" or starting with one of the
following "SEC-", "Samsung", "SAMSUNG", "SPH", "SGH", "SCH"
- Version:
- $Id: SamsungHandler.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Fantayeneh Asres Gizaw, Filippo De Luca
|
Method Summary |
boolean |
canHandle(String userAgent)
Checks given UA contains "Samsung/SGH" or starts with one of the
following "SEC-", "Samsung", "SAMSUNG", "SPH", "SGH", "SCH" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SamsungHandler
public SamsungHandler()
SamsungHandler
public SamsungHandler(UserAgentNormalizer normalizer)
canHandle
public boolean canHandle(String userAgent)
- Checks given UA contains "Samsung/SGH" or starts with one of the
following "SEC-", "Samsung", "SAMSUNG", "SPH", "SGH", "SCH"
- 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.