--- a/Documentation/Source/eric5.Utilities.__init__.html Fri Jan 08 17:04:18 2010 +0000 +++ b/Documentation/Source/eric5.Utilities.__init__.html Fri Jan 08 19:14:19 2010 +0000 @@ -26,14 +26,11 @@ </p> <h3>Global Attributes</h3> <table> -<tr><td>_escape</td></tr><tr><td>_escape_map</td></tr><tr><td>_uescape</td></tr><tr><td>coding_regexps</td></tr><tr><td>configDir</td></tr><tr><td>supportedCodecs</td></tr> +<tr><td>_escape</td></tr><tr><td>_escape_map</td></tr><tr><td>_uescape</td></tr><tr><td>configDir</td></tr><tr><td>supportedCodecs</td></tr> </table> <h3>Classes</h3> <table> -<tr> -<td><a href="#CodingError">CodingError</a></td> -<td>Class implementing an exception, which is raised, if a given coding is incorrect.</td> -</tr> +<tr><td>None</td></tr> </table> <h3>Functions</h3> <table> @@ -50,15 +47,9 @@ <td><a href="#convertLineEnds">convertLineEnds</a></td> <td>Function to convert the end of line characters.</td> </tr><tr> -<td><a href="#decode">decode</a></td> -<td>Function to decode a text.</td> -</tr><tr> <td><a href="#direntries">direntries</a></td> <td>Function returning a list of all files and directories.</td> </tr><tr> -<td><a href="#encode">encode</a></td> -<td>Function to encode a text.</td> -</tr><tr> <td><a href="#escape_entities">escape_entities</a></td> <td>Function to encode html entities.</td> </tr><tr> @@ -116,9 +107,6 @@ <td><a href="#getUserName">getUserName</a></td> <td>Function to get the user name.</td> </tr><tr> -<td><a href="#get_coding">get_coding</a></td> -<td>Function to get the coding of a text.</td> -</tr><tr> <td><a href="#hasEnvironmentEntry">hasEnvironmentEntry</a></td> <td>Module function to check, if the environment contains an entry.</td> </tr><tr> @@ -191,9 +179,6 @@ <td><a href="#toNativeSeparators">toNativeSeparators</a></td> <td>Function returning a path, that is using native separator characters.</td> </tr><tr> -<td><a href="#toUnicode">toUnicode</a></td> -<td>Public method to convert a string to unicode.</td> -</tr><tr> <td><a href="#win32_GetUserName">win32_GetUserName</a></td> <td>Function to get the user name under Win32.</td> </tr><tr> @@ -202,58 +187,6 @@ </tr> </table> <hr /><hr /> -<a NAME="CodingError" ID="CodingError"></a> -<h2>CodingError</h2> -<p> - Class implementing an exception, which is raised, if a given coding is incorrect. -</p> -<h3>Derived from</h3> -Exception -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#CodingError.__init__">CodingError</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#CodingError.__repr__">__repr__</a></td> -<td>Private method returning a representation of the exception.</td> -</tr><tr> -<td><a href="#CodingError.__str__">__str__</a></td> -<td>Private method returning a string representation of the exception.</td> -</tr> -</table> -<a NAME="CodingError.__init__" ID="CodingError.__init__"></a> -<h4>CodingError (Constructor)</h4> -<b>CodingError</b>(<i>coding</i>) -<p> - Constructor -</p><a NAME="CodingError.__repr__" ID="CodingError.__repr__"></a> -<h4>CodingError.__repr__</h4> -<b>__repr__</b>(<i></i>) -<p> - Private method returning a representation of the exception. -</p><dl> -<dt>Returns:</dt> -<dd> -string representing the error message -</dd> -</dl><a NAME="CodingError.__str__" ID="CodingError.__str__"></a> -<h4>CodingError.__str__</h4> -<b>__str__</b>(<i></i>) -<p> - Private method returning a string representation of the exception. -</p><dl> -<dt>Returns:</dt> -<dd> -string representing the error message -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> <a NAME="_percentReplacementFunc" ID="_percentReplacementFunc"></a> <h2>_percentReplacementFunc</h2> <b>_percentReplacementFunc</b>(<i>matchobj</i>) @@ -341,24 +274,6 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> -<a NAME="decode" ID="decode"></a> -<h2>decode</h2> -<b>decode</b>(<i>text</i>) -<p> - Function to decode a text. -</p><dl> -<dt><i>text</i></dt> -<dd> -text to decode (string) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -decoded text and encoding -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> <a NAME="direntries" ID="direntries"></a> <h2>direntries</h2> <b>direntries</b>(<i>path, filesonly=False, pattern=None, followsymlinks=True, checkStop=None</i>) @@ -391,27 +306,6 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> -<a NAME="encode" ID="encode"></a> -<h2>encode</h2> -<b>encode</b>(<i>text, orig_coding</i>) -<p> - Function to encode a text. -</p><dl> -<dt><i>text</i></dt> -<dd> -text to encode (string) -</dd><dt><i>orig_coding</i></dt> -<dd> -type of the original coding (string) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -encoded text and encoding -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> <a NAME="escape_entities" ID="escape_entities"></a> <h2>escape_entities</h2> <b>escape_entities</b>(<i>m, map=_escape_map</i>) @@ -735,24 +629,6 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> -<a NAME="get_coding" ID="get_coding"></a> -<h2>get_coding</h2> -<b>get_coding</b>(<i>text</i>) -<p> - Function to get the coding of a text. -</p><dl> -<dt><i>text</i></dt> -<dd> -text to inspect (string) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -coding string -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> <a NAME="hasEnvironmentEntry" ID="hasEnvironmentEntry"></a> <h2>hasEnvironmentEntry</h2> <b>hasEnvironmentEntry</b>(<i>key</i>) @@ -1201,27 +1077,6 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> -<a NAME="toUnicode" ID="toUnicode"></a> -<h2>toUnicode</h2> -<b>toUnicode</b>(<i>s</i>) -<p> - Public method to convert a string to unicode. -</p><p> - Various codes are tried until one converts the string without an error. - If all codecs fail, the string is returned unaltered. -</p><dl> -<dt><i>s</i></dt> -<dd> -string to be converted (string) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -converted string (unicode) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /><hr /> <a NAME="win32_GetUserName" ID="win32_GetUserName"></a> <h2>win32_GetUserName</h2> <b>win32_GetUserName</b>(<i></i>)