src/eric7/Documentation/Source/eric7.Utilities.MimeTypes.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10479
856476537696
diff -r 3fc8dfeb6ebe -r b99e7fd55fd3 src/eric7/Documentation/Source/eric7.Utilities.MimeTypes.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Documentation/Source/eric7.Utilities.MimeTypes.html	Thu Jul 07 11:23:56 2022 +0200
@@ -0,0 +1,96 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.Utilities.MimeTypes</title>
+<meta charset="UTF-8">
+<link rel="stylesheet" href="styles.css">
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.Utilities.MimeTypes</h1>
+
+<p>
+Module implementing mimetype dependent functions.
+</p>
+<h3>Global Attributes</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Functions</h3>
+
+<table>
+
+<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 />
+<a NAME="isTextFile" ID="isTextFile"></a>
+<h2>isTextFile</h2>
+<b>isTextFile</b>(<i>filename</i>)
+
+<p>
+    Function to test, if the given file is a text (i.e. editable) file.
+</p>
+<dl>
+
+<dt><i>filename</i> (str)</dt>
+<dd>
+name of the file to be checked
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating an editable file
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</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> (str)</dt>
+<dd>
+name of the file to be checked
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+mime type of the file
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial