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

Class BlackberryMatcher

source code

     object --+    
              |    
AbstractMatcher --+
                  |
                 BlackberryMatcher

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

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

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

Class Variables [hide private]
  blackberries = {u'2.': u'blackberry_generic_ver2', u'3.2': u'b...
  blackberry_os_re = re.compile(r'.*Black[Bb]erry[^/\s]+/(\d\.\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

recovery_match(self, user_agent)

source code 
Overrides: AbstractMatcher.recovery_match

Class Variable Details [hide private]

blackberries

Value:
{u'2.': u'blackberry_generic_ver2',
 u'3.2': u'blackberry_generic_ver3_sub2',
 u'3.3': u'blackberry_generic_ver3_sub30',
 u'3.5': u'blackberry_generic_ver3_sub50',
 u'3.6': u'blackberry_generic_ver3_sub60',
 u'3.7': u'blackberry_generic_ver3_sub70',
 u'4.': u'blackberry_generic_ver4',
 u'4.1': u'blackberry_generic_ver4_sub10',
...