eric6/Documentation/Source/eric6.E5Network.E5UrlInfo.html

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

eric ide

mercurial