Documentation/Source/eric5.Utilities.mimetypes.html

changeset 3566
b0307dc42e99
equal deleted inserted replaced
3565:8e1cd7721515 3566:b0307dc42e99
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric5.Utilities.mimetypes</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>eric5.Utilities.mimetypes</h1>
23 <p>
24 Module implementing mimetype dependent functions.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>TextMimeTypes</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Functions</h3>
35 <table>
36 <tr>
37 <td><a href="#isTextFile">isTextFile</a></td>
38 <td>Function to test, if the given file is a text (i.e.</td>
39 </tr>
40 </table>
41 <hr /><hr />
42 <a NAME="isTextFile" ID="isTextFile"></a>
43 <h2>isTextFile</h2>
44 <b>isTextFile</b>(<i>filename</i>)
45 <p>
46 Function to test, if the given file is a text (i.e. editable) file.
47 </p><dl>
48 <dt><i>filename</i></dt>
49 <dd>
50 name of the file to be checked (string)
51 </dd>
52 </dl><dl>
53 <dt>Returns:</dt>
54 <dd>
55 flag indicating an editable file (boolean)
56 </dd>
57 </dl>
58 <div align="right"><a href="#top">Up</a></div>
59 <hr />
60 </body></html>

eric ide

mercurial