net.sourceforge.wurfl.core.request.normalizer.specific
Class ChromeNormalizer
java.lang.Object
net.sourceforge.wurfl.core.request.normalizer.specific.ChromeNormalizer
- All Implemented Interfaces:
- UserAgentNormalizer
public class ChromeNormalizer
- extends Object
- implements UserAgentNormalizer
This Normalizer returns Chrome with major versio from given user-agent.
- Version:
- $Id: ChromeNormalizer.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Tommaso Teofili, Filippo De Luca
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChromeNormalizer
public ChromeNormalizer()
normalize
public String normalize(String userAgent)
- Return the Chrome string with the major version
- Specified by:
normalize in interface UserAgentNormalizer
- Parameters:
userAgent -
- Returns:
- String
Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.