9. Directory class

Introduction

This class is able to look for directories content. A directory object has the following attributes and methods:

Constructor

Directory

file: string

Creates a directory object bound to the specified path.

Methods

length

returns int

Indicates the number of files in the directory.

item

return string

Specifies the name of the file content.



Revision #4
Created 25 May 2021 11:15:17 by pgarcia@soffid.com
Updated 30 June 2022 13:08:35 by pgarcia@soffid.com