16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.WebBrowser.FlashCookieManager.FlashCookieReader</h1> |
23 <h1>eric6.WebBrowser.FlashCookieManager.FlashCookieReader</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a class to read flash cookies. |
26 Module implementing a class to read flash cookies. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#FlashCookieReader">FlashCookieReader</a></td> |
38 <td><a href="#FlashCookieReader">FlashCookieReader</a></td> |
34 <td>Class implementing a reader for flash cookies (*.sol files).</td> |
39 <td>Class implementing a reader for flash cookies (*.sol files).</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#FlashCookieReaderError">FlashCookieReaderError</a></td> |
42 <td><a href="#FlashCookieReaderError">FlashCookieReaderError</a></td> |
37 <td>Class containing data of a reader error.</td> |
43 <td>Class containing data of a reader error.</td> |
38 </tr> |
44 </tr> |
39 </table> |
45 </table> |
40 <h3>Functions</h3> |
46 <h3>Functions</h3> |
41 <table> |
47 |
42 <tr><td>None</td></tr> |
48 <table> |
43 </table> |
49 <tr><td>None</td></tr> |
44 <hr /><hr /> |
50 </table> |
|
51 <hr /> |
|
52 <hr /> |
45 <a NAME="FlashCookieReader" ID="FlashCookieReader"></a> |
53 <a NAME="FlashCookieReader" ID="FlashCookieReader"></a> |
46 <h2>FlashCookieReader</h2> |
54 <h2>FlashCookieReader</h2> |
|
55 |
47 <p> |
56 <p> |
48 Class implementing a reader for flash cookies (*.sol files). |
57 Class implementing a reader for flash cookies (*.sol files). |
49 </p> |
58 </p> |
50 <h3>Derived from</h3> |
59 <h3>Derived from</h3> |
51 object |
60 object |
52 <h3>Class Attributes</h3> |
61 <h3>Class Attributes</h3> |
|
62 |
53 <table> |
63 <table> |
54 <tr><td>Boolean</td></tr><tr><td>EpochCorrectionMsecs</td></tr><tr><td>Null</td></tr><tr><td>Number</td></tr><tr><td>ObjArr</td></tr><tr><td>ObjCc</td></tr><tr><td>ObjDate</td></tr><tr><td>ObjM</td></tr><tr><td>ObjObj</td></tr><tr><td>ObjXml</td></tr><tr><td>String</td></tr><tr><td>Undef</td></tr> |
64 <tr><td>Boolean</td></tr><tr><td>EpochCorrectionMsecs</td></tr><tr><td>Null</td></tr><tr><td>Number</td></tr><tr><td>ObjArr</td></tr><tr><td>ObjCc</td></tr><tr><td>ObjDate</td></tr><tr><td>ObjM</td></tr><tr><td>ObjObj</td></tr><tr><td>ObjXml</td></tr><tr><td>String</td></tr><tr><td>Undef</td></tr> |
55 </table> |
65 </table> |
56 <h3>Class Methods</h3> |
66 <h3>Class Methods</h3> |
|
67 |
57 <table> |
68 <table> |
58 <tr><td>None</td></tr> |
69 <tr><td>None</td></tr> |
59 </table> |
70 </table> |
60 <h3>Methods</h3> |
71 <h3>Methods</h3> |
61 <table> |
72 |
|
73 <table> |
|
74 |
62 <tr> |
75 <tr> |
63 <td><a href="#FlashCookieReader.__init__">FlashCookieReader</a></td> |
76 <td><a href="#FlashCookieReader.__init__">FlashCookieReader</a></td> |
64 <td>Constructor</td> |
77 <td>Constructor</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#FlashCookieReader.__parseArray">__parseArray</a></td> |
80 <td><a href="#FlashCookieReader.__parseArray">__parseArray</a></td> |
67 <td>Private method to parse an array.</td> |
81 <td>Private method to parse an array.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#FlashCookieReader.__parseBoolean">__parseBoolean</a></td> |
84 <td><a href="#FlashCookieReader.__parseBoolean">__parseBoolean</a></td> |
70 <td>Private method to parse a boolean.</td> |
85 <td>Private method to parse a boolean.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#FlashCookieReader.__parseDate">__parseDate</a></td> |
88 <td><a href="#FlashCookieReader.__parseDate">__parseDate</a></td> |
73 <td>Private method to parse a date.</td> |
89 <td>Private method to parse a date.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#FlashCookieReader.__parseNull">__parseNull</a></td> |
92 <td><a href="#FlashCookieReader.__parseNull">__parseNull</a></td> |
76 <td>Private method to parse a null object.</td> |
93 <td>Private method to parse a null object.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#FlashCookieReader.__parseNumber">__parseNumber</a></td> |
96 <td><a href="#FlashCookieReader.__parseNumber">__parseNumber</a></td> |
79 <td>Private method to parse a number.</td> |
97 <td>Private method to parse a number.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#FlashCookieReader.__parseObject">__parseObject</a></td> |
100 <td><a href="#FlashCookieReader.__parseObject">__parseObject</a></td> |
82 <td>Private method to parse an object.</td> |
101 <td>Private method to parse an object.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#FlashCookieReader.__parseOcc">__parseOcc</a></td> |
104 <td><a href="#FlashCookieReader.__parseOcc">__parseOcc</a></td> |
85 <td>Private method to parse a c_object.</td> |
105 <td>Private method to parse a c_object.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#FlashCookieReader.__parseOjm">__parseOjm</a></td> |
108 <td><a href="#FlashCookieReader.__parseOjm">__parseOjm</a></td> |
88 <td>Private method to parse an m_object.</td> |
109 <td>Private method to parse an m_object.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#FlashCookieReader.__parseString">__parseString</a></td> |
112 <td><a href="#FlashCookieReader.__parseString">__parseString</a></td> |
91 <td>Private method to parse a string.</td> |
113 <td>Private method to parse a string.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#FlashCookieReader.__parseUndefined">__parseUndefined</a></td> |
116 <td><a href="#FlashCookieReader.__parseUndefined">__parseUndefined</a></td> |
94 <td>Private method to parse an undefined object.</td> |
117 <td>Private method to parse an undefined object.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#FlashCookieReader.__parseXml">__parseXml</a></td> |
120 <td><a href="#FlashCookieReader.__parseXml">__parseXml</a></td> |
97 <td>Private method to parse XML.</td> |
121 <td>Private method to parse XML.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#FlashCookieReader.parse">parse</a></td> |
124 <td><a href="#FlashCookieReader.parse">parse</a></td> |
100 <td>Public method to parse the sol file.</td> |
125 <td>Public method to parse the sol file.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#FlashCookieReader.setBytes">setBytes</a></td> |
128 <td><a href="#FlashCookieReader.setBytes">setBytes</a></td> |
103 <td>Public method to set the contents of a sol file to be parsed.</td> |
129 <td>Public method to set the contents of a sol file to be parsed.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#FlashCookieReader.setFile">setFile</a></td> |
132 <td><a href="#FlashCookieReader.setFile">setFile</a></td> |
106 <td>Public method to set an open sol file to be parsed.</td> |
133 <td>Public method to set an open sol file to be parsed.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#FlashCookieReader.setFileName">setFileName</a></td> |
136 <td><a href="#FlashCookieReader.setFileName">setFileName</a></td> |
109 <td>Public method to set the name of a sol file to be parsed.</td> |
137 <td>Public method to set the name of a sol file to be parsed.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#FlashCookieReader.toString">toString</a></td> |
140 <td><a href="#FlashCookieReader.toString">toString</a></td> |
112 <td>Public method to convert the parsed cookie to a string representation.</td> |
141 <td>Public method to convert the parsed cookie to a string representation.</td> |
113 </tr> |
142 </tr> |
114 </table> |
143 </table> |
115 <h3>Static Methods</h3> |
144 <h3>Static Methods</h3> |
116 <table> |
145 |
117 <tr><td>None</td></tr> |
146 <table> |
118 </table> |
147 <tr><td>None</td></tr> |
|
148 </table> |
|
149 |
119 <a NAME="FlashCookieReader.__init__" ID="FlashCookieReader.__init__"></a> |
150 <a NAME="FlashCookieReader.__init__" ID="FlashCookieReader.__init__"></a> |
120 <h4>FlashCookieReader (Constructor)</h4> |
151 <h4>FlashCookieReader (Constructor)</h4> |
121 <b>FlashCookieReader</b>(<i></i>) |
152 <b>FlashCookieReader</b>(<i></i>) |
|
153 |
122 <p> |
154 <p> |
123 Constructor |
155 Constructor |
124 </p><a NAME="FlashCookieReader.__parseArray" ID="FlashCookieReader.__parseArray"></a> |
156 </p> |
|
157 <a NAME="FlashCookieReader.__parseArray" ID="FlashCookieReader.__parseArray"></a> |
125 <h4>FlashCookieReader.__parseArray</h4> |
158 <h4>FlashCookieReader.__parseArray</h4> |
126 <b>__parseArray</b>(<i>variableName, parent</i>) |
159 <b>__parseArray</b>(<i>variableName, parent</i>) |
|
160 |
127 <p> |
161 <p> |
128 Private method to parse an array. |
162 Private method to parse an array. |
129 </p><dl> |
163 </p> |
130 <dt><i>variableName</i> (str)</dt> |
164 <dl> |
131 <dd> |
165 |
132 name of the variable to be parsed |
166 <dt><i>variableName</i> (str)</dt> |
133 </dd><dt><i>parent</i> (dict)</dt> |
167 <dd> |
134 <dd> |
168 name of the variable to be parsed |
135 reference to the dictionary to insert the result into |
169 </dd> |
136 </dd> |
170 <dt><i>parent</i> (dict)</dt> |
137 </dl><dl> |
171 <dd> |
|
172 reference to the dictionary to insert the result into |
|
173 </dd> |
|
174 </dl> |
|
175 <dl> |
|
176 |
138 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
177 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
139 <dd> |
178 <dd> |
140 raised when an issue with the cookie |
179 raised when an issue with the cookie |
141 file is found |
180 file is found |
142 </dd> |
181 </dd> |
143 </dl><a NAME="FlashCookieReader.__parseBoolean" ID="FlashCookieReader.__parseBoolean"></a> |
182 </dl> |
|
183 <a NAME="FlashCookieReader.__parseBoolean" ID="FlashCookieReader.__parseBoolean"></a> |
144 <h4>FlashCookieReader.__parseBoolean</h4> |
184 <h4>FlashCookieReader.__parseBoolean</h4> |
145 <b>__parseBoolean</b>(<i>variableName, parent</i>) |
185 <b>__parseBoolean</b>(<i>variableName, parent</i>) |
|
186 |
146 <p> |
187 <p> |
147 Private method to parse a boolean. |
188 Private method to parse a boolean. |
148 </p><dl> |
189 </p> |
149 <dt><i>variableName</i> (str)</dt> |
190 <dl> |
150 <dd> |
191 |
151 name of the variable to be parsed |
192 <dt><i>variableName</i> (str)</dt> |
152 </dd><dt><i>parent</i> (dict)</dt> |
193 <dd> |
153 <dd> |
194 name of the variable to be parsed |
154 reference to the dictionary to insert the result into |
195 </dd> |
155 </dd> |
196 <dt><i>parent</i> (dict)</dt> |
156 </dl><a NAME="FlashCookieReader.__parseDate" ID="FlashCookieReader.__parseDate"></a> |
197 <dd> |
|
198 reference to the dictionary to insert the result into |
|
199 </dd> |
|
200 </dl> |
|
201 <a NAME="FlashCookieReader.__parseDate" ID="FlashCookieReader.__parseDate"></a> |
157 <h4>FlashCookieReader.__parseDate</h4> |
202 <h4>FlashCookieReader.__parseDate</h4> |
158 <b>__parseDate</b>(<i>variableName, parent</i>) |
203 <b>__parseDate</b>(<i>variableName, parent</i>) |
|
204 |
159 <p> |
205 <p> |
160 Private method to parse a date. |
206 Private method to parse a date. |
161 </p><dl> |
207 </p> |
162 <dt><i>variableName</i> (str)</dt> |
208 <dl> |
163 <dd> |
209 |
164 name of the variable to be parsed |
210 <dt><i>variableName</i> (str)</dt> |
165 </dd><dt><i>parent</i> (dict)</dt> |
211 <dd> |
166 <dd> |
212 name of the variable to be parsed |
167 reference to the dictionary to insert the result into |
213 </dd> |
168 </dd> |
214 <dt><i>parent</i> (dict)</dt> |
169 </dl><a NAME="FlashCookieReader.__parseNull" ID="FlashCookieReader.__parseNull"></a> |
215 <dd> |
|
216 reference to the dictionary to insert the result into |
|
217 </dd> |
|
218 </dl> |
|
219 <a NAME="FlashCookieReader.__parseNull" ID="FlashCookieReader.__parseNull"></a> |
170 <h4>FlashCookieReader.__parseNull</h4> |
220 <h4>FlashCookieReader.__parseNull</h4> |
171 <b>__parseNull</b>(<i>variableName, parent</i>) |
221 <b>__parseNull</b>(<i>variableName, parent</i>) |
|
222 |
172 <p> |
223 <p> |
173 Private method to parse a null object. |
224 Private method to parse a null object. |
174 </p><dl> |
225 </p> |
175 <dt><i>variableName</i> (str)</dt> |
226 <dl> |
176 <dd> |
227 |
177 name of the variable to be parsed |
228 <dt><i>variableName</i> (str)</dt> |
178 </dd><dt><i>parent</i> (dict)</dt> |
229 <dd> |
179 <dd> |
230 name of the variable to be parsed |
180 reference to the dictionary to insert the result into |
231 </dd> |
181 </dd> |
232 <dt><i>parent</i> (dict)</dt> |
182 </dl><a NAME="FlashCookieReader.__parseNumber" ID="FlashCookieReader.__parseNumber"></a> |
233 <dd> |
|
234 reference to the dictionary to insert the result into |
|
235 </dd> |
|
236 </dl> |
|
237 <a NAME="FlashCookieReader.__parseNumber" ID="FlashCookieReader.__parseNumber"></a> |
183 <h4>FlashCookieReader.__parseNumber</h4> |
238 <h4>FlashCookieReader.__parseNumber</h4> |
184 <b>__parseNumber</b>(<i>variableName, parent</i>) |
239 <b>__parseNumber</b>(<i>variableName, parent</i>) |
|
240 |
185 <p> |
241 <p> |
186 Private method to parse a number. |
242 Private method to parse a number. |
187 </p><dl> |
243 </p> |
188 <dt><i>variableName</i> (str)</dt> |
244 <dl> |
189 <dd> |
245 |
190 name of the variable to be parsed |
246 <dt><i>variableName</i> (str)</dt> |
191 </dd><dt><i>parent</i> (dict)</dt> |
247 <dd> |
192 <dd> |
248 name of the variable to be parsed |
193 reference to the dictionary to insert the result into |
249 </dd> |
194 </dd> |
250 <dt><i>parent</i> (dict)</dt> |
195 </dl><a NAME="FlashCookieReader.__parseObject" ID="FlashCookieReader.__parseObject"></a> |
251 <dd> |
|
252 reference to the dictionary to insert the result into |
|
253 </dd> |
|
254 </dl> |
|
255 <a NAME="FlashCookieReader.__parseObject" ID="FlashCookieReader.__parseObject"></a> |
196 <h4>FlashCookieReader.__parseObject</h4> |
256 <h4>FlashCookieReader.__parseObject</h4> |
197 <b>__parseObject</b>(<i>variableName, parent</i>) |
257 <b>__parseObject</b>(<i>variableName, parent</i>) |
|
258 |
198 <p> |
259 <p> |
199 Private method to parse an object. |
260 Private method to parse an object. |
200 </p><dl> |
261 </p> |
201 <dt><i>variableName</i> (str)</dt> |
262 <dl> |
202 <dd> |
263 |
203 name of the variable to be parsed |
264 <dt><i>variableName</i> (str)</dt> |
204 </dd><dt><i>parent</i> (dict)</dt> |
265 <dd> |
205 <dd> |
266 name of the variable to be parsed |
206 reference to the dictionary to insert the result into |
267 </dd> |
207 </dd> |
268 <dt><i>parent</i> (dict)</dt> |
208 </dl><dl> |
269 <dd> |
|
270 reference to the dictionary to insert the result into |
|
271 </dd> |
|
272 </dl> |
|
273 <dl> |
|
274 |
209 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
275 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
210 <dd> |
276 <dd> |
211 raised when an issue with the cookie |
277 raised when an issue with the cookie |
212 file is found |
278 file is found |
213 </dd> |
279 </dd> |
214 </dl><a NAME="FlashCookieReader.__parseOcc" ID="FlashCookieReader.__parseOcc"></a> |
280 </dl> |
|
281 <a NAME="FlashCookieReader.__parseOcc" ID="FlashCookieReader.__parseOcc"></a> |
215 <h4>FlashCookieReader.__parseOcc</h4> |
282 <h4>FlashCookieReader.__parseOcc</h4> |
216 <b>__parseOcc</b>(<i>variableName, parent</i>) |
283 <b>__parseOcc</b>(<i>variableName, parent</i>) |
|
284 |
217 <p> |
285 <p> |
218 Private method to parse a c_object. |
286 Private method to parse a c_object. |
219 </p><dl> |
287 </p> |
220 <dt><i>variableName</i> (str)</dt> |
288 <dl> |
221 <dd> |
289 |
222 name of the variable to be parsed |
290 <dt><i>variableName</i> (str)</dt> |
223 </dd><dt><i>parent</i> (dict)</dt> |
291 <dd> |
224 <dd> |
292 name of the variable to be parsed |
225 reference to the dictionary to insert the result into |
293 </dd> |
226 </dd> |
294 <dt><i>parent</i> (dict)</dt> |
227 </dl><dl> |
295 <dd> |
|
296 reference to the dictionary to insert the result into |
|
297 </dd> |
|
298 </dl> |
|
299 <dl> |
|
300 |
228 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
301 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
229 <dd> |
302 <dd> |
230 raised when an issue with the cookie |
303 raised when an issue with the cookie |
231 file is found |
304 file is found |
232 </dd> |
305 </dd> |
233 </dl><a NAME="FlashCookieReader.__parseOjm" ID="FlashCookieReader.__parseOjm"></a> |
306 </dl> |
|
307 <a NAME="FlashCookieReader.__parseOjm" ID="FlashCookieReader.__parseOjm"></a> |
234 <h4>FlashCookieReader.__parseOjm</h4> |
308 <h4>FlashCookieReader.__parseOjm</h4> |
235 <b>__parseOjm</b>(<i>variableName, parent</i>) |
309 <b>__parseOjm</b>(<i>variableName, parent</i>) |
|
310 |
236 <p> |
311 <p> |
237 Private method to parse an m_object. |
312 Private method to parse an m_object. |
238 </p><dl> |
313 </p> |
239 <dt><i>variableName</i> (str)</dt> |
314 <dl> |
240 <dd> |
315 |
241 name of the variable to be parsed |
316 <dt><i>variableName</i> (str)</dt> |
242 </dd><dt><i>parent</i> (dict)</dt> |
317 <dd> |
243 <dd> |
318 name of the variable to be parsed |
244 reference to the dictionary to insert the result into |
319 </dd> |
245 </dd> |
320 <dt><i>parent</i> (dict)</dt> |
246 </dl><a NAME="FlashCookieReader.__parseString" ID="FlashCookieReader.__parseString"></a> |
321 <dd> |
|
322 reference to the dictionary to insert the result into |
|
323 </dd> |
|
324 </dl> |
|
325 <a NAME="FlashCookieReader.__parseString" ID="FlashCookieReader.__parseString"></a> |
247 <h4>FlashCookieReader.__parseString</h4> |
326 <h4>FlashCookieReader.__parseString</h4> |
248 <b>__parseString</b>(<i>variableName, parent</i>) |
327 <b>__parseString</b>(<i>variableName, parent</i>) |
|
328 |
249 <p> |
329 <p> |
250 Private method to parse a string. |
330 Private method to parse a string. |
251 </p><dl> |
331 </p> |
252 <dt><i>variableName</i> (str)</dt> |
332 <dl> |
253 <dd> |
333 |
254 name of the variable to be parsed |
334 <dt><i>variableName</i> (str)</dt> |
255 </dd><dt><i>parent</i> (dict)</dt> |
335 <dd> |
256 <dd> |
336 name of the variable to be parsed |
257 reference to the dictionary to insert the result into |
337 </dd> |
258 </dd> |
338 <dt><i>parent</i> (dict)</dt> |
259 </dl><a NAME="FlashCookieReader.__parseUndefined" ID="FlashCookieReader.__parseUndefined"></a> |
339 <dd> |
|
340 reference to the dictionary to insert the result into |
|
341 </dd> |
|
342 </dl> |
|
343 <a NAME="FlashCookieReader.__parseUndefined" ID="FlashCookieReader.__parseUndefined"></a> |
260 <h4>FlashCookieReader.__parseUndefined</h4> |
344 <h4>FlashCookieReader.__parseUndefined</h4> |
261 <b>__parseUndefined</b>(<i>variableName, parent</i>) |
345 <b>__parseUndefined</b>(<i>variableName, parent</i>) |
|
346 |
262 <p> |
347 <p> |
263 Private method to parse an undefined object. |
348 Private method to parse an undefined object. |
264 </p><dl> |
349 </p> |
265 <dt><i>variableName</i> (str)</dt> |
350 <dl> |
266 <dd> |
351 |
267 name of the variable to be parsed |
352 <dt><i>variableName</i> (str)</dt> |
268 </dd><dt><i>parent</i> (dict)</dt> |
353 <dd> |
269 <dd> |
354 name of the variable to be parsed |
270 reference to the dictionary to insert the result into |
355 </dd> |
271 </dd> |
356 <dt><i>parent</i> (dict)</dt> |
272 </dl><a NAME="FlashCookieReader.__parseXml" ID="FlashCookieReader.__parseXml"></a> |
357 <dd> |
|
358 reference to the dictionary to insert the result into |
|
359 </dd> |
|
360 </dl> |
|
361 <a NAME="FlashCookieReader.__parseXml" ID="FlashCookieReader.__parseXml"></a> |
273 <h4>FlashCookieReader.__parseXml</h4> |
362 <h4>FlashCookieReader.__parseXml</h4> |
274 <b>__parseXml</b>(<i>variableName, parent</i>) |
363 <b>__parseXml</b>(<i>variableName, parent</i>) |
|
364 |
275 <p> |
365 <p> |
276 Private method to parse XML. |
366 Private method to parse XML. |
277 </p><dl> |
367 </p> |
278 <dt><i>variableName</i> (str)</dt> |
368 <dl> |
279 <dd> |
369 |
280 name of the variable to be parsed |
370 <dt><i>variableName</i> (str)</dt> |
281 </dd><dt><i>parent</i> (dict)</dt> |
371 <dd> |
282 <dd> |
372 name of the variable to be parsed |
283 reference to the dictionary to insert the result into |
373 </dd> |
284 </dd> |
374 <dt><i>parent</i> (dict)</dt> |
285 </dl><a NAME="FlashCookieReader.parse" ID="FlashCookieReader.parse"></a> |
375 <dd> |
|
376 reference to the dictionary to insert the result into |
|
377 </dd> |
|
378 </dl> |
|
379 <a NAME="FlashCookieReader.parse" ID="FlashCookieReader.parse"></a> |
286 <h4>FlashCookieReader.parse</h4> |
380 <h4>FlashCookieReader.parse</h4> |
287 <b>parse</b>(<i></i>) |
381 <b>parse</b>(<i></i>) |
|
382 |
288 <p> |
383 <p> |
289 Public method to parse the sol file. |
384 Public method to parse the sol file. |
290 </p><dl> |
385 </p> |
|
386 <dl> |
|
387 |
291 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
388 <dt>Raises <b>FlashCookieReaderError</b>:</dt> |
292 <dd> |
389 <dd> |
293 raised when encountering a parse |
390 raised when encountering a parse |
294 issue |
391 issue |
295 </dd> |
392 </dd> |
296 </dl><a NAME="FlashCookieReader.setBytes" ID="FlashCookieReader.setBytes"></a> |
393 </dl> |
|
394 <a NAME="FlashCookieReader.setBytes" ID="FlashCookieReader.setBytes"></a> |
297 <h4>FlashCookieReader.setBytes</h4> |
395 <h4>FlashCookieReader.setBytes</h4> |
298 <b>setBytes</b>(<i>solData</i>) |
396 <b>setBytes</b>(<i>solData</i>) |
|
397 |
299 <p> |
398 <p> |
300 Public method to set the contents of a sol file to be parsed. |
399 Public method to set the contents of a sol file to be parsed. |
301 </p><dl> |
400 </p> |
|
401 <dl> |
|
402 |
302 <dt><i>solData</i> (bytes)</dt> |
403 <dt><i>solData</i> (bytes)</dt> |
303 <dd> |
404 <dd> |
304 contents of the file |
405 contents of the file |
305 </dd> |
406 </dd> |
306 </dl><a NAME="FlashCookieReader.setFile" ID="FlashCookieReader.setFile"></a> |
407 </dl> |
|
408 <a NAME="FlashCookieReader.setFile" ID="FlashCookieReader.setFile"></a> |
307 <h4>FlashCookieReader.setFile</h4> |
409 <h4>FlashCookieReader.setFile</h4> |
308 <b>setFile</b>(<i>solFile</i>) |
410 <b>setFile</b>(<i>solFile</i>) |
|
411 |
309 <p> |
412 <p> |
310 Public method to set an open sol file to be parsed. |
413 Public method to set an open sol file to be parsed. |
311 </p><dl> |
414 </p> |
|
415 <dl> |
|
416 |
312 <dt><i>solFile</i> (io.FileIO)</dt> |
417 <dt><i>solFile</i> (io.FileIO)</dt> |
313 <dd> |
418 <dd> |
314 sol file to be parsed |
419 sol file to be parsed |
315 </dd> |
420 </dd> |
316 </dl><a NAME="FlashCookieReader.setFileName" ID="FlashCookieReader.setFileName"></a> |
421 </dl> |
|
422 <a NAME="FlashCookieReader.setFileName" ID="FlashCookieReader.setFileName"></a> |
317 <h4>FlashCookieReader.setFileName</h4> |
423 <h4>FlashCookieReader.setFileName</h4> |
318 <b>setFileName</b>(<i>solFilename</i>) |
424 <b>setFileName</b>(<i>solFilename</i>) |
|
425 |
319 <p> |
426 <p> |
320 Public method to set the name of a sol file to be parsed. |
427 Public method to set the name of a sol file to be parsed. |
321 </p><dl> |
428 </p> |
|
429 <dl> |
|
430 |
322 <dt><i>solFilename</i> (str)</dt> |
431 <dt><i>solFilename</i> (str)</dt> |
323 <dd> |
432 <dd> |
324 name of the sol file |
433 name of the sol file |
325 </dd> |
434 </dd> |
326 </dl><a NAME="FlashCookieReader.toString" ID="FlashCookieReader.toString"></a> |
435 </dl> |
|
436 <a NAME="FlashCookieReader.toString" ID="FlashCookieReader.toString"></a> |
327 <h4>FlashCookieReader.toString</h4> |
437 <h4>FlashCookieReader.toString</h4> |
328 <b>toString</b>(<i>indent=0, parent=None</i>) |
438 <b>toString</b>(<i>indent=0, parent=None</i>) |
|
439 |
329 <p> |
440 <p> |
330 Public method to convert the parsed cookie to a string representation. |
441 Public method to convert the parsed cookie to a string representation. |
331 </p><dl> |
442 </p> |
|
443 <dl> |
|
444 |
332 <dt><i>indent</i> (int)</dt> |
445 <dt><i>indent</i> (int)</dt> |
333 <dd> |
446 <dd> |
334 indentation level |
447 indentation level |
335 </dd><dt><i>parent</i> (dict)</dt> |
448 </dd> |
|
449 <dt><i>parent</i> (dict)</dt> |
336 <dd> |
450 <dd> |
337 reference to the dictionary to be converted |
451 reference to the dictionary to be converted |
338 </dd> |
452 </dd> |
339 </dl><dl> |
453 </dl> |
|
454 <dl> |
340 <dt>Returns:</dt> |
455 <dt>Returns:</dt> |
341 <dd> |
456 <dd> |
342 string representation of the cookie |
457 string representation of the cookie |
343 </dd> |
458 </dd> |
344 </dl><dl> |
459 </dl> |
|
460 <dl> |
345 <dt>Return Type:</dt> |
461 <dt>Return Type:</dt> |
346 <dd> |
462 <dd> |
347 str |
463 str |
348 </dd> |
464 </dd> |
349 </dl> |
465 </dl> |
350 <div align="right"><a href="#top">Up</a></div> |
466 <div align="right"><a href="#top">Up</a></div> |
351 <hr /><hr /> |
467 <hr /> |
|
468 <hr /> |
352 <a NAME="FlashCookieReaderError" ID="FlashCookieReaderError"></a> |
469 <a NAME="FlashCookieReaderError" ID="FlashCookieReaderError"></a> |
353 <h2>FlashCookieReaderError</h2> |
470 <h2>FlashCookieReaderError</h2> |
|
471 |
354 <p> |
472 <p> |
355 Class containing data of a reader error. |
473 Class containing data of a reader error. |
356 </p> |
474 </p> |
357 <h3>Derived from</h3> |
475 <h3>Derived from</h3> |
358 Exception |
476 Exception |
359 <h3>Class Attributes</h3> |
477 <h3>Class Attributes</h3> |
|
478 |
360 <table> |
479 <table> |
361 <tr><td>None</td></tr> |
480 <tr><td>None</td></tr> |
362 </table> |
481 </table> |
363 <h3>Class Methods</h3> |
482 <h3>Class Methods</h3> |
|
483 |
364 <table> |
484 <table> |
365 <tr><td>None</td></tr> |
485 <tr><td>None</td></tr> |
366 </table> |
486 </table> |
367 <h3>Methods</h3> |
487 <h3>Methods</h3> |
368 <table> |
488 |
|
489 <table> |
|
490 |
369 <tr> |
491 <tr> |
370 <td><a href="#FlashCookieReaderError.__init__">FlashCookieReaderError</a></td> |
492 <td><a href="#FlashCookieReaderError.__init__">FlashCookieReaderError</a></td> |
371 <td>Constructor</td> |
493 <td>Constructor</td> |
372 </tr> |
494 </tr> |
373 </table> |
495 </table> |
374 <h3>Static Methods</h3> |
496 <h3>Static Methods</h3> |
375 <table> |
497 |
376 <tr><td>None</td></tr> |
498 <table> |
377 </table> |
499 <tr><td>None</td></tr> |
|
500 </table> |
|
501 |
378 <a NAME="FlashCookieReaderError.__init__" ID="FlashCookieReaderError.__init__"></a> |
502 <a NAME="FlashCookieReaderError.__init__" ID="FlashCookieReaderError.__init__"></a> |
379 <h4>FlashCookieReaderError (Constructor)</h4> |
503 <h4>FlashCookieReaderError (Constructor)</h4> |
380 <b>FlashCookieReaderError</b>(<i>msg</i>) |
504 <b>FlashCookieReaderError</b>(<i>msg</i>) |
|
505 |
381 <p> |
506 <p> |
382 Constructor |
507 Constructor |
383 </p><dl> |
508 </p> |
|
509 <dl> |
|
510 |
384 <dt><i>msg</i> (str)</dt> |
511 <dt><i>msg</i> (str)</dt> |
385 <dd> |
512 <dd> |
386 error message |
513 error message |
387 </dd> |
514 </dd> |
388 </dl> |
515 </dl> |