class documentation
class ProgramsFileManager(object):
Constructor: ProgramsFileManager(progs_dir, language, extension, runnable)
Undocumented
| Method | __init__ |
Undocumented |
| Method | create |
Undocumented |
| Method | execute |
Undocumented |
| Method | exists |
Check if a file with a certain name exists |
| Method | get |
Get all filenames available in storage |
| Method | get |
Undocumented |
| Method | get |
Undocumented |
| Method | get |
Return the modification time of the file :param name: the program's file name :type name: str :return: the modification time of the file :rtype: str |
| Method | read |
Read |
| Method | read |
Read description |
| Method | remove |
Remove file |
| Method | stop |
Undocumented |
| Class Variable | associated |
Undocumented |
| Property | runnable |
Undocumented |
| Static Method | _generate |
Undocumented |
| Method | _filename |
Undocumented |
| Method | _init |
Undocumented |
| Method | _name |
Undocumented |
| Method | _path |
Undocumented |
| Method | _read |
Read file |
| Instance Variable | _extension |
Undocumented |
| Instance Variable | _language |
Undocumented |
| Instance Variable | _progs |
Undocumented |
| Instance Variable | _runnable |
Undocumented |
| Instance Variable | _suffix |
Undocumented |
Check if a file with a certain name exists
| Parameters | |
| name:str | file name |
| Returns | |
| bool | True if file exists, else False |
Get all filenames available in storage
| Parameters | |
| with | |
| Returns | |
| list[str] | list of filenames |
| Raises | |
Unknown exception | ProgramFileException: if any error |
Return the modification time of the file :param name: the program's file name :type name: str :return: the modification time of the file :rtype: str
Remove file
| Parameters | |
| name:str | file name |
| Returns | |
| None | |
| Raises | |
Unknown exception | ProgramFileException: if any error |