net.sourceforge.wurfl.core.request.normalizer.specific
Class OperaNormalizer
java.lang.Object
net.sourceforge.wurfl.core.request.normalizer.specific.OperaNormalizer
- All Implemented Interfaces:
- UserAgentNormalizer
public class OperaNormalizer
- extends Object
- implements UserAgentNormalizer
This Normalizer returns Opera user agent with the major version.
e.g
-
Opera/9.00 (Windows NT 5.1; U; de) -> Opera/9
-
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.52 [en] -> Opera 7
- Version:
- $Id: OperaNormalizer.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 |
OperaNormalizer
public OperaNormalizer()
normalize
public String normalize(String userAgent)
- Description copied from interface:
UserAgentNormalizer
- Return normalized user-agent.
- 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.