--- a/Documentation/Source/eric6.Utilities.MimeTypes.html Sat Feb 07 12:43:00 2015 +0100 +++ b/Documentation/Source/eric6.Utilities.MimeTypes.html Sun Feb 08 13:09:00 2015 +0100 @@ -36,6 +36,9 @@ <tr> <td><a href="#isTextFile">isTextFile</a></td> <td>Function to test, if the given file is a text (i.e.</td> +</tr><tr> +<td><a href="#mimeType">mimeType</a></td> +<td>Function to get the mime type of a file.</td> </tr> </table> <hr /><hr /> @@ -56,5 +59,23 @@ </dd> </dl> <div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="mimeType" ID="mimeType"></a> +<h2>mimeType</h2> +<b>mimeType</b>(<i>filename</i>) +<p> + Function to get the mime type of a file. +</p><dl> +<dt><i>filename</i></dt> +<dd> +name of the file to be checked (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +mime type of the file (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file