net.sourceforge.wurfl.core.request.normalizer.specific
Class KonquerorNormalizer
java.lang.Object
net.sourceforge.wurfl.core.request.normalizer.specific.KonquerorNormalizer
- All Implemented Interfaces:
- UserAgentNormalizer
public class KonquerorNormalizer
- extends Object
- implements UserAgentNormalizer
This Normalizer returns Konqueror user agent with the major version.
e.g Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.2 (like Gecko)
-> Konqueror/4
- Version:
- $Id: KonquerorNormalizer.java 432 2010-05-06 12:12:53Z filippo.deluca $
- Author:
- Tommaso Teofili, Filippo De Luca
|
Method Summary |
String |
normalize(String userAgent)
Return the Konqueror user agent with the major version
e.g Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.2 (like
Gecko) -> Konqueror/4 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KonquerorNormalizer
public KonquerorNormalizer()
normalize
public String normalize(String userAgent)
- Return the Konqueror user agent with the major version
e.g Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.2 (like
Gecko) -> Konqueror/4
- Specified by:
normalize in interface UserAgentNormalizer
- Parameters:
userAgent -
- Returns:
- String
Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.