Package pywurfl :: Package algorithms :: Package wurfl :: Module handlers :: Class OperaMatcher
[hide private]
[frames] | no frames]

Class OperaMatcher

source code

     object --+    
              |    
AbstractMatcher --+
                  |
                 OperaMatcher

Instance Methods [hide private]
 
can_handle(self, user_agent) source code
 
find_matching_ua(self, user_agent) source code
 
recovery_match(self, user_agent) source code

Inherited from AbstractMatcher: __call__, __init__, add, catch_all_recovery_match, conclusive_match, ld_matcher, ris_matcher

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  OPERA_TOLERANCE = 1
  operas = {'10': u'opera_10', '7': u'opera_7', '8': u'opera_8',...
  opera_re = re.compile(r'.*Opera[\s/](\d+).*')

Inherited from AbstractMatcher: recovery_map, user_agent_map

Properties [hide private]

Inherited from AbstractMatcher: user_agents

Inherited from object: __class__

Method Details [hide private]

can_handle(self, user_agent)

source code 
Overrides: AbstractMatcher.can_handle

find_matching_ua(self, user_agent)

source code 
Overrides: AbstractMatcher.find_matching_ua

recovery_match(self, user_agent)

source code 
Overrides: AbstractMatcher.recovery_match

Class Variable Details [hide private]

operas

Value:
{'10': u'opera_10', '7': u'opera_7', '8': u'opera_8', '9': u'opera_9'}