net.sourceforge.wurfl.core.request.normalizer.generic
Class UPLinkNormalizer
java.lang.Object
net.sourceforge.wurfl.core.request.normalizer.generic.UPLinkNormalizer
- All Implemented Interfaces:
- UserAgentNormalizer
public class UPLinkNormalizer
- extends Object
- implements UserAgentNormalizer
The UPLink UserAgentNormalizer.
Strips out the trailing "UP.Link*" from the target user-agent.
- Version:
- $Id: UPLinkNormalizer.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Fantayeneh Asres Gizaw, Filippo De Luca
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPLinkNormalizer
public UPLinkNormalizer()
normalize
public String normalize(String userAgent)
- Replace the trailing "UP.Link*" with "".
- Specified by:
normalize in interface UserAgentNormalizer
- Parameters:
userAgent - String contains user-agent to normalize.
- Returns:
- String contains normalized user-agent.
Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.