Documentation/Source/eric5.E5Network.E5UrlInfo.html

changeset 2077
68a34718a0ce
child 2367
78f6c8193d37
equal deleted inserted replaced
2076:0d6286344ac1 2077:68a34718a0ce
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.E5Network.E5UrlInfo</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.E5Network.E5UrlInfo</h1>
24 <p>
25 Module implementing a class replacing QUrlInfo.
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="#E5UrlInfo">E5UrlInfo</a></td>
35 <td>Class implementing a replacement for QUrlInfo.</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="E5UrlInfo" ID="E5UrlInfo"></a>
44 <h2>E5UrlInfo</h2>
45 <p>
46 Class implementing a replacement for QUrlInfo.
47 </p>
48 <h3>Derived from</h3>
49 object
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>ExeGroup</td></tr><tr><td>ExeOther</td></tr><tr><td>ExeOwner</td></tr><tr><td>ReadGroup</td></tr><tr><td>ReadOther</td></tr><tr><td>ReadOwner</td></tr><tr><td>WriteGroup</td></tr><tr><td>WriteOther</td></tr><tr><td>WriteOwner</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="#E5UrlInfo.__init__">E5UrlInfo</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#E5UrlInfo.group">group</a></td>
65 <td>Public method to get the group.</td>
66 </tr><tr>
67 <td><a href="#E5UrlInfo.isDir">isDir</a></td>
68 <td>Public method to test, if the entry is a directory.</td>
69 </tr><tr>
70 <td><a href="#E5UrlInfo.isExecutable">isExecutable</a></td>
71 <td>Public method to test, if the entry is executable.</td>
72 </tr><tr>
73 <td><a href="#E5UrlInfo.isFile">isFile</a></td>
74 <td>Public method to test, if the entry is a file.</td>
75 </tr><tr>
76 <td><a href="#E5UrlInfo.isReadable">isReadable</a></td>
77 <td>Public method to test, if the entry is readable.</td>
78 </tr><tr>
79 <td><a href="#E5UrlInfo.isSymLink">isSymLink</a></td>
80 <td>Public method to test, if the entry is a symbolic link.</td>
81 </tr><tr>
82 <td><a href="#E5UrlInfo.isValid">isValid</a></td>
83 <td>Public method to check the validity of the object.</td>
84 </tr><tr>
85 <td><a href="#E5UrlInfo.isWritable">isWritable</a></td>
86 <td>Public method to test, if the entry is writable.</td>
87 </tr><tr>
88 <td><a href="#E5UrlInfo.lastModified">lastModified</a></td>
89 <td>Public method to get the last modified date and time.</td>
90 </tr><tr>
91 <td><a href="#E5UrlInfo.lastRead">lastRead</a></td>
92 <td>Public method to get the last read date and time.</td>
93 </tr><tr>
94 <td><a href="#E5UrlInfo.name">name</a></td>
95 <td>Public method to get the name.</td>
96 </tr><tr>
97 <td><a href="#E5UrlInfo.owner">owner</a></td>
98 <td>Public method to get the owner.</td>
99 </tr><tr>
100 <td><a href="#E5UrlInfo.permissions">permissions</a></td>
101 <td>Public method to get the permissions.</td>
102 </tr><tr>
103 <td><a href="#E5UrlInfo.setDir">setDir</a></td>
104 <td>Public method to indicate a directory.</td>
105 </tr><tr>
106 <td><a href="#E5UrlInfo.setFile">setFile</a></td>
107 <td>Public method to indicate a file.</td>
108 </tr><tr>
109 <td><a href="#E5UrlInfo.setGroup">setGroup</a></td>
110 <td>Public method to set the group.</td>
111 </tr><tr>
112 <td><a href="#E5UrlInfo.setLastModified">setLastModified</a></td>
113 <td>Public method to set the last modified date and time.</td>
114 </tr><tr>
115 <td><a href="#E5UrlInfo.setLastRead">setLastRead</a></td>
116 <td>Public method to set the last read date and time.</td>
117 </tr><tr>
118 <td><a href="#E5UrlInfo.setName">setName</a></td>
119 <td>Public method to set the name.</td>
120 </tr><tr>
121 <td><a href="#E5UrlInfo.setOwner">setOwner</a></td>
122 <td>Public method to set the owner.</td>
123 </tr><tr>
124 <td><a href="#E5UrlInfo.setPermissions">setPermissions</a></td>
125 <td>Public method to set the permissions.</td>
126 </tr><tr>
127 <td><a href="#E5UrlInfo.setReadable">setReadable</a></td>
128 <td>Public method to a readable entry.</td>
129 </tr><tr>
130 <td><a href="#E5UrlInfo.setSize">setSize</a></td>
131 <td>Public method to set the size.</td>
132 </tr><tr>
133 <td><a href="#E5UrlInfo.setSymLink">setSymLink</a></td>
134 <td>Public method to indicate a symbolic link.</td>
135 </tr><tr>
136 <td><a href="#E5UrlInfo.setWritable">setWritable</a></td>
137 <td>Public method to a writable entry.</td>
138 </tr><tr>
139 <td><a href="#E5UrlInfo.size">size</a></td>
140 <td>Public method to get the size.</td>
141 </tr>
142 </table>
143 <h3>Static Methods</h3>
144 <table>
145 <tr><td>None</td></tr>
146 </table>
147 <a NAME="E5UrlInfo.__init__" ID="E5UrlInfo.__init__"></a>
148 <h4>E5UrlInfo (Constructor)</h4>
149 <b>E5UrlInfo</b>(<i></i>)
150 <p>
151 Constructor
152 </p><a NAME="E5UrlInfo.group" ID="E5UrlInfo.group"></a>
153 <h4>E5UrlInfo.group</h4>
154 <b>group</b>(<i></i>)
155 <p>
156 Public method to get the group.
157 </p><dl>
158 <dt>Returns:</dt>
159 <dd>
160 group (string)
161 </dd>
162 </dl><a NAME="E5UrlInfo.isDir" ID="E5UrlInfo.isDir"></a>
163 <h4>E5UrlInfo.isDir</h4>
164 <b>isDir</b>(<i></i>)
165 <p>
166 Public method to test, if the entry is a directory.
167 </p><dl>
168 <dt>Returns:</dt>
169 <dd>
170 flag indicating a directory (boolean)
171 </dd>
172 </dl><a NAME="E5UrlInfo.isExecutable" ID="E5UrlInfo.isExecutable"></a>
173 <h4>E5UrlInfo.isExecutable</h4>
174 <b>isExecutable</b>(<i></i>)
175 <p>
176 Public method to test, if the entry is executable.
177 </p><dl>
178 <dt>Returns:</dt>
179 <dd>
180 flag indicating executable (boolean)
181 </dd>
182 </dl><a NAME="E5UrlInfo.isFile" ID="E5UrlInfo.isFile"></a>
183 <h4>E5UrlInfo.isFile</h4>
184 <b>isFile</b>(<i></i>)
185 <p>
186 Public method to test, if the entry is a file.
187 </p><dl>
188 <dt>Returns:</dt>
189 <dd>
190 flag indicating a file (boolean)
191 </dd>
192 </dl><a NAME="E5UrlInfo.isReadable" ID="E5UrlInfo.isReadable"></a>
193 <h4>E5UrlInfo.isReadable</h4>
194 <b>isReadable</b>(<i></i>)
195 <p>
196 Public method to test, if the entry is readable.
197 </p><dl>
198 <dt>Returns:</dt>
199 <dd>
200 flag indicating readable (boolean)
201 </dd>
202 </dl><a NAME="E5UrlInfo.isSymLink" ID="E5UrlInfo.isSymLink"></a>
203 <h4>E5UrlInfo.isSymLink</h4>
204 <b>isSymLink</b>(<i></i>)
205 <p>
206 Public method to test, if the entry is a symbolic link.
207 </p><dl>
208 <dt>Returns:</dt>
209 <dd>
210 flag indicating a symbolic link (boolean)
211 </dd>
212 </dl><a NAME="E5UrlInfo.isValid" ID="E5UrlInfo.isValid"></a>
213 <h4>E5UrlInfo.isValid</h4>
214 <b>isValid</b>(<i></i>)
215 <p>
216 Public method to check the validity of the object.
217 </p><dl>
218 <dt>Returns:</dt>
219 <dd>
220 flag indicating validity (boolean)
221 </dd>
222 </dl><a NAME="E5UrlInfo.isWritable" ID="E5UrlInfo.isWritable"></a>
223 <h4>E5UrlInfo.isWritable</h4>
224 <b>isWritable</b>(<i></i>)
225 <p>
226 Public method to test, if the entry is writable.
227 </p><dl>
228 <dt>Returns:</dt>
229 <dd>
230 flag indicating writable (boolean)
231 </dd>
232 </dl><a NAME="E5UrlInfo.lastModified" ID="E5UrlInfo.lastModified"></a>
233 <h4>E5UrlInfo.lastModified</h4>
234 <b>lastModified</b>(<i></i>)
235 <p>
236 Public method to get the last modified date and time.
237 </p><dl>
238 <dt>Returns:</dt>
239 <dd>
240 last modified date and time (QDateTime)
241 </dd>
242 </dl><a NAME="E5UrlInfo.lastRead" ID="E5UrlInfo.lastRead"></a>
243 <h4>E5UrlInfo.lastRead</h4>
244 <b>lastRead</b>(<i></i>)
245 <p>
246 Public method to get the last read date and time.
247 </p><dl>
248 <dt>Returns:</dt>
249 <dd>
250 last read date and time (QDateTime)
251 </dd>
252 </dl><a NAME="E5UrlInfo.name" ID="E5UrlInfo.name"></a>
253 <h4>E5UrlInfo.name</h4>
254 <b>name</b>(<i></i>)
255 <p>
256 Public method to get the name.
257 </p><dl>
258 <dt>Returns:</dt>
259 <dd>
260 name (string)
261 </dd>
262 </dl><a NAME="E5UrlInfo.owner" ID="E5UrlInfo.owner"></a>
263 <h4>E5UrlInfo.owner</h4>
264 <b>owner</b>(<i></i>)
265 <p>
266 Public method to get the owner.
267 </p><dl>
268 <dt>Returns:</dt>
269 <dd>
270 owner (string)
271 </dd>
272 </dl><a NAME="E5UrlInfo.permissions" ID="E5UrlInfo.permissions"></a>
273 <h4>E5UrlInfo.permissions</h4>
274 <b>permissions</b>(<i></i>)
275 <p>
276 Public method to get the permissions.
277 </p><dl>
278 <dt>Returns:</dt>
279 <dd>
280 permissions (integer)
281 </dd>
282 </dl><a NAME="E5UrlInfo.setDir" ID="E5UrlInfo.setDir"></a>
283 <h4>E5UrlInfo.setDir</h4>
284 <b>setDir</b>(<i>isDir</i>)
285 <p>
286 Public method to indicate a directory.
287 </p><dl>
288 <dt><i>isDir</i></dt>
289 <dd>
290 flag indicating a directory (boolean)
291 </dd>
292 </dl><a NAME="E5UrlInfo.setFile" ID="E5UrlInfo.setFile"></a>
293 <h4>E5UrlInfo.setFile</h4>
294 <b>setFile</b>(<i>isFile</i>)
295 <p>
296 Public method to indicate a file.
297 </p><dl>
298 <dt><i>isFile</i></dt>
299 <dd>
300 flag indicating a file (boolean)
301 </dd>
302 </dl><a NAME="E5UrlInfo.setGroup" ID="E5UrlInfo.setGroup"></a>
303 <h4>E5UrlInfo.setGroup</h4>
304 <b>setGroup</b>(<i>group</i>)
305 <p>
306 Public method to set the group.
307 </p><dl>
308 <dt><i>group</i></dt>
309 <dd>
310 group to be set (string)
311 </dd>
312 </dl><a NAME="E5UrlInfo.setLastModified" ID="E5UrlInfo.setLastModified"></a>
313 <h4>E5UrlInfo.setLastModified</h4>
314 <b>setLastModified</b>(<i>dt</i>)
315 <p>
316 Public method to set the last modified date and time.
317 </p><dl>
318 <dt><i>dt</i></dt>
319 <dd>
320 date and time to set (QDateTime)
321 </dd>
322 </dl><a NAME="E5UrlInfo.setLastRead" ID="E5UrlInfo.setLastRead"></a>
323 <h4>E5UrlInfo.setLastRead</h4>
324 <b>setLastRead</b>(<i>dt</i>)
325 <p>
326 Public method to set the last read date and time.
327 </p><dl>
328 <dt><i>dt</i></dt>
329 <dd>
330 date and time to set (QDateTime)
331 </dd>
332 </dl><a NAME="E5UrlInfo.setName" ID="E5UrlInfo.setName"></a>
333 <h4>E5UrlInfo.setName</h4>
334 <b>setName</b>(<i>name</i>)
335 <p>
336 Public method to set the name.
337 </p><dl>
338 <dt><i>name</i></dt>
339 <dd>
340 name to be set (string)
341 </dd>
342 </dl><a NAME="E5UrlInfo.setOwner" ID="E5UrlInfo.setOwner"></a>
343 <h4>E5UrlInfo.setOwner</h4>
344 <b>setOwner</b>(<i>owner</i>)
345 <p>
346 Public method to set the owner.
347 </p><dl>
348 <dt><i>owner</i></dt>
349 <dd>
350 owner to be set (string)
351 </dd>
352 </dl><a NAME="E5UrlInfo.setPermissions" ID="E5UrlInfo.setPermissions"></a>
353 <h4>E5UrlInfo.setPermissions</h4>
354 <b>setPermissions</b>(<i>permissions</i>)
355 <p>
356 Public method to set the permissions.
357 </p><dl>
358 <dt><i>permissions</i></dt>
359 <dd>
360 permissions to be set (integer)
361 </dd>
362 </dl><a NAME="E5UrlInfo.setReadable" ID="E5UrlInfo.setReadable"></a>
363 <h4>E5UrlInfo.setReadable</h4>
364 <b>setReadable</b>(<i>isReadable</i>)
365 <p>
366 Public method to a readable entry.
367 </p><dl>
368 <dt><i>isReadable</i></dt>
369 <dd>
370 flag indicating a readable entry (boolean)
371 </dd>
372 </dl><a NAME="E5UrlInfo.setSize" ID="E5UrlInfo.setSize"></a>
373 <h4>E5UrlInfo.setSize</h4>
374 <b>setSize</b>(<i>size</i>)
375 <p>
376 Public method to set the size.
377 </p><dl>
378 <dt><i>size</i></dt>
379 <dd>
380 size to be set (integer)
381 </dd>
382 </dl><a NAME="E5UrlInfo.setSymLink" ID="E5UrlInfo.setSymLink"></a>
383 <h4>E5UrlInfo.setSymLink</h4>
384 <b>setSymLink</b>(<i>isSymLink</i>)
385 <p>
386 Public method to indicate a symbolic link.
387 </p><dl>
388 <dt><i>isSymLink</i></dt>
389 <dd>
390 flag indicating a symbolic link (boolean)
391 </dd>
392 </dl><a NAME="E5UrlInfo.setWritable" ID="E5UrlInfo.setWritable"></a>
393 <h4>E5UrlInfo.setWritable</h4>
394 <b>setWritable</b>(<i>isWritable</i>)
395 <p>
396 Public method to a writable entry.
397 </p><dl>
398 <dt><i>isWritable</i></dt>
399 <dd>
400 flag indicating a writable entry (boolean)
401 </dd>
402 </dl><a NAME="E5UrlInfo.size" ID="E5UrlInfo.size"></a>
403 <h4>E5UrlInfo.size</h4>
404 <b>size</b>(<i></i>)
405 <p>
406 Public method to get the size.
407 </p><dl>
408 <dt>Returns:</dt>
409 <dd>
410 size (integer)
411 </dd>
412 </dl>
413 <div align="right"><a href="#top">Up</a></div>
414 <hr />
415 </body></html>

eric ide

mercurial