Documentation/Source/eric6.Utilities.MimeTypes.html

changeset 4101
68c26f72c0d1
parent 4097
ad2a6bd965d9
equal deleted inserted replaced
4098:59a1b3356009 4101:68c26f72c0d1
34 <h3>Functions</h3> 34 <h3>Functions</h3>
35 <table> 35 <table>
36 <tr> 36 <tr>
37 <td><a href="#isTextFile">isTextFile</a></td> 37 <td><a href="#isTextFile">isTextFile</a></td>
38 <td>Function to test, if the given file is a text (i.e.</td> 38 <td>Function to test, if the given file is a text (i.e.</td>
39 </tr><tr>
40 <td><a href="#mimeType">mimeType</a></td>
41 <td>Function to get the mime type of a file.</td>
39 </tr> 42 </tr>
40 </table> 43 </table>
41 <hr /><hr /> 44 <hr /><hr />
42 <a NAME="isTextFile" ID="isTextFile"></a> 45 <a NAME="isTextFile" ID="isTextFile"></a>
43 <h2>isTextFile</h2> 46 <h2>isTextFile</h2>
54 <dd> 57 <dd>
55 flag indicating an editable file (boolean) 58 flag indicating an editable file (boolean)
56 </dd> 59 </dd>
57 </dl> 60 </dl>
58 <div align="right"><a href="#top">Up</a></div> 61 <div align="right"><a href="#top">Up</a></div>
62 <hr /><hr />
63 <a NAME="mimeType" ID="mimeType"></a>
64 <h2>mimeType</h2>
65 <b>mimeType</b>(<i>filename</i>)
66 <p>
67 Function to get the mime type of a file.
68 </p><dl>
69 <dt><i>filename</i></dt>
70 <dd>
71 name of the file to be checked (string)
72 </dd>
73 </dl><dl>
74 <dt>Returns:</dt>
75 <dd>
76 mime type of the file (string)
77 </dd>
78 </dl>
79 <div align="right"><a href="#top">Up</a></div>
59 <hr /> 80 <hr />
60 </body></html> 81 </body></html>

eric ide

mercurial