net.sourceforge.wurfl.core.request.normalizer.generic
Class VodafoneNormalizer
java.lang.Object
net.sourceforge.wurfl.core.request.normalizer.generic.VodafoneNormalizer
- All Implemented Interfaces:
- UserAgentNormalizer
public class VodafoneNormalizer
- extends Object
- implements UserAgentNormalizer
Vodafone UserAgentNormalizer.
Normalize the "/SNnnnnnnnnnnnnnnnn" String.
- Version:
- $Id: VodafoneNormalizer.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 |
VodafoneNormalizer
public VodafoneNormalizer()
normalize
public String normalize(String userAgent)
Replace serial number with X's series.
examples:
/SN12345678 -> /SNXXXXXXXX
/SN0987654321 -> /SNXXXXXXXXXX
- 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.