Package prlsdkapi :: Class FsEntry
[hide private]
[frames] | no frames]

Class FsEntry

object --+    
         |    
   _Handle --+
             |
            FsEntry

Contains information about a file system entry (disk, directory, file) on the host computer.

Instance Methods [hide private]
 
get_absolute_path(self)
Return the specified file system entry absolute path.
 
get_relative_name(self)
Return the file system entry relative name.
 
get_last_modified_date(self)
Return the date on which the specified file system entry was last modified.
 
get_size(self)
Return the file system entry size.
 
get_permissions(self)
Return the specified file system entry permissions (read, write, execute) for the current user.
 
get_type(self)
Return the file system entry type (file, directory, drive).

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, reg_event_handler, unreg_event_handler

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_absolute_path(self)

 

Return the specified file system entry absolute path.

Returns:
A string containing the path.

get_relative_name(self)

 

Return the file system entry relative name.

Returns:
A string contaning the name.

get_last_modified_date(self)

 

Return the date on which the specified file system entry was last modified.

Returns:
A string containing the date.

get_size(self)

 

Return the file system entry size.

Returns:
A long containing the size (in bytes).

get_permissions(self)

 

Return the specified file system entry permissions (read, write, execute) for the current user.

Returns:
An integer contaning the permissions. The permissions are specified as bitmasks.

get_type(self)

 

Return the file system entry type (file, directory, drive).

Returns:
The entry type. Can be PSE_DRIVE, PSE_DIRECTORY, PSE_FILE.
Overrides: _Handle.get_type