Package src :: Package com :: Package deviceatlas :: Package device :: Module client_side_parser :: Class ClientSideParser
[frames] | no frames]

Class ClientSideParser

Static Methods
 
parse(client_side_string)
Parse the Client-side string into Map where the key is the property name string and the value a Property object.
Method Details

parse(client_side_string)
Static Method

 

 Parse the Client-side string into Map where the key is the property name
 string and the value a Property object.

 The clientSide is of the form:
 bjs.webGl:1|bjs.geoLocation:1|sdeviceAspectRatio:16/10|iusableDisplayHeight:1050
 and must be URI encoded, which transforms the string to
 bjs.webGl%3A1%7Cbjs.geoLocation%3A1%7CsdeviceAspectRatio%3A16%2F10%7CiusableDisplayHeight%3A1050

 The first character of the property name is the type of the value. If the type
 is mot valid then the property/value pair will be ignored.
:return: