--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.EricNetwork.EricUrlInfo.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,581 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.EricNetwork.EricUrlInfo</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.EricNetwork.EricUrlInfo</h1> + +<p> +Module implementing a class replacing QUrlInfo. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#EricUrlInfo">EricUrlInfo</a></td> +<td>Class implementing a replacement for QUrlInfo.</td> +</tr> +<tr> +<td><a href="#EricUrlPermission">EricUrlPermission</a></td> +<td>Class defining the URL permissions.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="EricUrlInfo" ID="EricUrlInfo"></a> +<h2>EricUrlInfo</h2> + +<p> + Class implementing a replacement for QUrlInfo. +</p> +<h3>Derived from</h3> +None +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#EricUrlInfo.__init__">EricUrlInfo</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.group">group</a></td> +<td>Public method to get the group.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isDir">isDir</a></td> +<td>Public method to test, if the entry is a directory.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isExecutable">isExecutable</a></td> +<td>Public method to test, if the entry is executable.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isFile">isFile</a></td> +<td>Public method to test, if the entry is a file.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isReadable">isReadable</a></td> +<td>Public method to test, if the entry is readable.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isSymLink">isSymLink</a></td> +<td>Public method to test, if the entry is a symbolic link.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isValid">isValid</a></td> +<td>Public method to check the validity of the object.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.isWritable">isWritable</a></td> +<td>Public method to test, if the entry is writable.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.lastModified">lastModified</a></td> +<td>Public method to get the last modified date and time.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.lastRead">lastRead</a></td> +<td>Public method to get the last read date and time.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.name">name</a></td> +<td>Public method to get the name.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.owner">owner</a></td> +<td>Public method to get the owner.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.permissions">permissions</a></td> +<td>Public method to get the permissions.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setDir">setDir</a></td> +<td>Public method to indicate a directory.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setFile">setFile</a></td> +<td>Public method to indicate a file.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setGroup">setGroup</a></td> +<td>Public method to set the group.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setLastModified">setLastModified</a></td> +<td>Public method to set the last modified date and time.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setLastRead">setLastRead</a></td> +<td>Public method to set the last read date and time.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setName">setName</a></td> +<td>Public method to set the name.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setOwner">setOwner</a></td> +<td>Public method to set the owner.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setPermissions">setPermissions</a></td> +<td>Public method to set the permissions.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setReadable">setReadable</a></td> +<td>Public method to a readable entry.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setSize">setSize</a></td> +<td>Public method to set the size.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setSymLink">setSymLink</a></td> +<td>Public method to indicate a symbolic link.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.setWritable">setWritable</a></td> +<td>Public method to a writable entry.</td> +</tr> +<tr> +<td><a href="#EricUrlInfo.size">size</a></td> +<td>Public method to get the size.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="EricUrlInfo.__init__" ID="EricUrlInfo.__init__"></a> +<h4>EricUrlInfo (Constructor)</h4> +<b>EricUrlInfo</b>(<i></i>) + +<p> + Constructor +</p> +<a NAME="EricUrlInfo.group" ID="EricUrlInfo.group"></a> +<h4>EricUrlInfo.group</h4> +<b>group</b>(<i></i>) + +<p> + Public method to get the group. +</p> +<dl> +<dt>Return:</dt> +<dd> +group (string) +</dd> +</dl> +<a NAME="EricUrlInfo.isDir" ID="EricUrlInfo.isDir"></a> +<h4>EricUrlInfo.isDir</h4> +<b>isDir</b>(<i></i>) + +<p> + Public method to test, if the entry is a directory. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a directory (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.isExecutable" ID="EricUrlInfo.isExecutable"></a> +<h4>EricUrlInfo.isExecutable</h4> +<b>isExecutable</b>(<i></i>) + +<p> + Public method to test, if the entry is executable. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating executable (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.isFile" ID="EricUrlInfo.isFile"></a> +<h4>EricUrlInfo.isFile</h4> +<b>isFile</b>(<i></i>) + +<p> + Public method to test, if the entry is a file. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a file (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.isReadable" ID="EricUrlInfo.isReadable"></a> +<h4>EricUrlInfo.isReadable</h4> +<b>isReadable</b>(<i></i>) + +<p> + Public method to test, if the entry is readable. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating readable (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.isSymLink" ID="EricUrlInfo.isSymLink"></a> +<h4>EricUrlInfo.isSymLink</h4> +<b>isSymLink</b>(<i></i>) + +<p> + Public method to test, if the entry is a symbolic link. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a symbolic link (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.isValid" ID="EricUrlInfo.isValid"></a> +<h4>EricUrlInfo.isValid</h4> +<b>isValid</b>(<i></i>) + +<p> + Public method to check the validity of the object. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating validity (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.isWritable" ID="EricUrlInfo.isWritable"></a> +<h4>EricUrlInfo.isWritable</h4> +<b>isWritable</b>(<i></i>) + +<p> + Public method to test, if the entry is writable. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating writable (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.lastModified" ID="EricUrlInfo.lastModified"></a> +<h4>EricUrlInfo.lastModified</h4> +<b>lastModified</b>(<i></i>) + +<p> + Public method to get the last modified date and time. +</p> +<dl> +<dt>Return:</dt> +<dd> +last modified date and time (QDateTime) +</dd> +</dl> +<a NAME="EricUrlInfo.lastRead" ID="EricUrlInfo.lastRead"></a> +<h4>EricUrlInfo.lastRead</h4> +<b>lastRead</b>(<i></i>) + +<p> + Public method to get the last read date and time. +</p> +<dl> +<dt>Return:</dt> +<dd> +last read date and time (QDateTime) +</dd> +</dl> +<a NAME="EricUrlInfo.name" ID="EricUrlInfo.name"></a> +<h4>EricUrlInfo.name</h4> +<b>name</b>(<i></i>) + +<p> + Public method to get the name. +</p> +<dl> +<dt>Return:</dt> +<dd> +name (string) +</dd> +</dl> +<a NAME="EricUrlInfo.owner" ID="EricUrlInfo.owner"></a> +<h4>EricUrlInfo.owner</h4> +<b>owner</b>(<i></i>) + +<p> + Public method to get the owner. +</p> +<dl> +<dt>Return:</dt> +<dd> +owner (string) +</dd> +</dl> +<a NAME="EricUrlInfo.permissions" ID="EricUrlInfo.permissions"></a> +<h4>EricUrlInfo.permissions</h4> +<b>permissions</b>(<i></i>) + +<p> + Public method to get the permissions. +</p> +<dl> +<dt>Return:</dt> +<dd> +permissions (integer) +</dd> +</dl> +<a NAME="EricUrlInfo.setDir" ID="EricUrlInfo.setDir"></a> +<h4>EricUrlInfo.setDir</h4> +<b>setDir</b>(<i>isDir</i>) + +<p> + Public method to indicate a directory. +</p> +<dl> + +<dt><i>isDir</i></dt> +<dd> +flag indicating a directory (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.setFile" ID="EricUrlInfo.setFile"></a> +<h4>EricUrlInfo.setFile</h4> +<b>setFile</b>(<i>isFile</i>) + +<p> + Public method to indicate a file. +</p> +<dl> + +<dt><i>isFile</i></dt> +<dd> +flag indicating a file (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.setGroup" ID="EricUrlInfo.setGroup"></a> +<h4>EricUrlInfo.setGroup</h4> +<b>setGroup</b>(<i>group</i>) + +<p> + Public method to set the group. +</p> +<dl> + +<dt><i>group</i></dt> +<dd> +group to be set (string) +</dd> +</dl> +<a NAME="EricUrlInfo.setLastModified" ID="EricUrlInfo.setLastModified"></a> +<h4>EricUrlInfo.setLastModified</h4> +<b>setLastModified</b>(<i>dt</i>) + +<p> + Public method to set the last modified date and time. +</p> +<dl> + +<dt><i>dt</i></dt> +<dd> +date and time to set (QDateTime) +</dd> +</dl> +<a NAME="EricUrlInfo.setLastRead" ID="EricUrlInfo.setLastRead"></a> +<h4>EricUrlInfo.setLastRead</h4> +<b>setLastRead</b>(<i>dt</i>) + +<p> + Public method to set the last read date and time. +</p> +<dl> + +<dt><i>dt</i></dt> +<dd> +date and time to set (QDateTime) +</dd> +</dl> +<a NAME="EricUrlInfo.setName" ID="EricUrlInfo.setName"></a> +<h4>EricUrlInfo.setName</h4> +<b>setName</b>(<i>name</i>) + +<p> + Public method to set the name. +</p> +<dl> + +<dt><i>name</i></dt> +<dd> +name to be set (string) +</dd> +</dl> +<a NAME="EricUrlInfo.setOwner" ID="EricUrlInfo.setOwner"></a> +<h4>EricUrlInfo.setOwner</h4> +<b>setOwner</b>(<i>owner</i>) + +<p> + Public method to set the owner. +</p> +<dl> + +<dt><i>owner</i></dt> +<dd> +owner to be set (string) +</dd> +</dl> +<a NAME="EricUrlInfo.setPermissions" ID="EricUrlInfo.setPermissions"></a> +<h4>EricUrlInfo.setPermissions</h4> +<b>setPermissions</b>(<i>permissions</i>) + +<p> + Public method to set the permissions. +</p> +<dl> + +<dt><i>permissions</i></dt> +<dd> +permissions to be set (integer) +</dd> +</dl> +<a NAME="EricUrlInfo.setReadable" ID="EricUrlInfo.setReadable"></a> +<h4>EricUrlInfo.setReadable</h4> +<b>setReadable</b>(<i>isReadable</i>) + +<p> + Public method to a readable entry. +</p> +<dl> + +<dt><i>isReadable</i></dt> +<dd> +flag indicating a readable entry (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.setSize" ID="EricUrlInfo.setSize"></a> +<h4>EricUrlInfo.setSize</h4> +<b>setSize</b>(<i>size</i>) + +<p> + Public method to set the size. +</p> +<dl> + +<dt><i>size</i></dt> +<dd> +size to be set (integer) +</dd> +</dl> +<a NAME="EricUrlInfo.setSymLink" ID="EricUrlInfo.setSymLink"></a> +<h4>EricUrlInfo.setSymLink</h4> +<b>setSymLink</b>(<i>isSymLink</i>) + +<p> + Public method to indicate a symbolic link. +</p> +<dl> + +<dt><i>isSymLink</i></dt> +<dd> +flag indicating a symbolic link (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.setWritable" ID="EricUrlInfo.setWritable"></a> +<h4>EricUrlInfo.setWritable</h4> +<b>setWritable</b>(<i>isWritable</i>) + +<p> + Public method to a writable entry. +</p> +<dl> + +<dt><i>isWritable</i></dt> +<dd> +flag indicating a writable entry (boolean) +</dd> +</dl> +<a NAME="EricUrlInfo.size" ID="EricUrlInfo.size"></a> +<h4>EricUrlInfo.size</h4> +<b>size</b>(<i></i>) + +<p> + Public method to get the size. +</p> +<dl> +<dt>Return:</dt> +<dd> +size (integer) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="EricUrlPermission" ID="EricUrlPermission"></a> +<h2>EricUrlPermission</h2> + +<p> + Class defining the URL permissions. +</p> +<h3>Derived from</h3> +enum.IntEnum +<h3>Class Attributes</h3> + +<table> +<tr><td>EXE_GROUP</td></tr><tr><td>EXE_OTHER</td></tr><tr><td>EXE_OWNER</td></tr><tr><td>READ_GROUP</td></tr><tr><td>READ_OTHER</td></tr><tr><td>READ_OWNER</td></tr><tr><td>WRITE_GROUP</td></tr><tr><td>WRITE_OTHER</td></tr><tr><td>WRITE_OWNER</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file