|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.Passwords.PasswordReader</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.Passwords.PasswordReader</h1> |
|
24 <p> |
|
25 Module implementing a class to read login data files. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#PasswordReader">PasswordReader</a></td> |
|
35 <td>Class implementing a reader object for login data files.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="PasswordReader" ID="PasswordReader"></a> |
|
44 <h2>PasswordReader</h2> |
|
45 <p> |
|
46 Class implementing a reader object for login data files. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QXmlStreamReader |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#PasswordReader.__init__">PasswordReader</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#PasswordReader.__readForms">__readForms</a></td> |
|
65 <td>Private method to read the forms information.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#PasswordReader.__readLogins">__readLogins</a></td> |
|
68 <td>Private method to read the login information.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#PasswordReader.__readNevers">__readNevers</a></td> |
|
71 <td>Private method to read the never URLs.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#PasswordReader.__readPasswords">__readPasswords</a></td> |
|
74 <td>Private method to read and parse the login data file.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#PasswordReader.__skipUnknownElement">__skipUnknownElement</a></td> |
|
77 <td>Private method to skip over all unknown elements.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#PasswordReader.read">read</a></td> |
|
80 <td>Public method to read an XBEL bookmark file.</td> |
|
81 </tr> |
|
82 </table> |
|
83 <h3>Static Methods</h3> |
|
84 <table> |
|
85 <tr><td>None</td></tr> |
|
86 </table> |
|
87 <a NAME="PasswordReader.__init__" ID="PasswordReader.__init__"></a> |
|
88 <h4>PasswordReader (Constructor)</h4> |
|
89 <b>PasswordReader</b>(<i></i>) |
|
90 <p> |
|
91 Constructor |
|
92 </p><a NAME="PasswordReader.__readForms" ID="PasswordReader.__readForms"></a> |
|
93 <h4>PasswordReader.__readForms</h4> |
|
94 <b>__readForms</b>(<i></i>) |
|
95 <p> |
|
96 Private method to read the forms information. |
|
97 </p><a NAME="PasswordReader.__readLogins" ID="PasswordReader.__readLogins"></a> |
|
98 <h4>PasswordReader.__readLogins</h4> |
|
99 <b>__readLogins</b>(<i></i>) |
|
100 <p> |
|
101 Private method to read the login information. |
|
102 </p><a NAME="PasswordReader.__readNevers" ID="PasswordReader.__readNevers"></a> |
|
103 <h4>PasswordReader.__readNevers</h4> |
|
104 <b>__readNevers</b>(<i></i>) |
|
105 <p> |
|
106 Private method to read the never URLs. |
|
107 </p><a NAME="PasswordReader.__readPasswords" ID="PasswordReader.__readPasswords"></a> |
|
108 <h4>PasswordReader.__readPasswords</h4> |
|
109 <b>__readPasswords</b>(<i></i>) |
|
110 <p> |
|
111 Private method to read and parse the login data file. |
|
112 </p><a NAME="PasswordReader.__skipUnknownElement" ID="PasswordReader.__skipUnknownElement"></a> |
|
113 <h4>PasswordReader.__skipUnknownElement</h4> |
|
114 <b>__skipUnknownElement</b>(<i></i>) |
|
115 <p> |
|
116 Private method to skip over all unknown elements. |
|
117 </p><a NAME="PasswordReader.read" ID="PasswordReader.read"></a> |
|
118 <h4>PasswordReader.read</h4> |
|
119 <b>read</b>(<i>fileNameOrDevice</i>) |
|
120 <p> |
|
121 Public method to read an XBEL bookmark file. |
|
122 </p><dl> |
|
123 <dt><i>fileNameOrDevice</i></dt> |
|
124 <dd> |
|
125 name of the file to read (string) |
|
126 or reference to the device to read (QIODevice) |
|
127 </dd> |
|
128 </dl><dl> |
|
129 <dt>Returns:</dt> |
|
130 <dd> |
|
131 tuple containing the logins, forms and never URLs |
|
132 </dd> |
|
133 </dl> |
|
134 <div align="right"><a href="#top">Up</a></div> |
|
135 <hr /> |
|
136 </body></html> |