[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Stores file names matching a search criteria in a TStrings class instance.
Source position: fileutil.pas line 159
type TListFileSearcher = class(TFileSearcher) |
||
protected |
||
procedure DoFileFound; override; |
|
Performs actions required to add a file name to the list of matches for the file searcher. |
public |
||
constructor Create(); |
|
Constructor for the class instance. |
end; |
|
Stores file names matching a search criteria in a TStrings class instance. |
|
| | ||
|
Implements an iterator used to search for files or directories. |
|
| | ||
|
Implements an iterator for file and directory names on the local file system. |
|
| | ||
TObject |
TListFileSearcher is a TFileSearcher descendant used to used store file names matching a specified search criteria in a TStrings class instance. It provides an overridden methods used to add file names to the string list when a matching file name is found. An alternate constructor is provided to specify the TStrings instance used to store the file names found in the Search method.
Remark: | Resources allocated to the TStrings instance must be freed by the caller. TListFileSearcher does not own or manage the resources for the TStrings instance. |
|
Implements an iterator used to search for files or directories. |
Version 3.2 | Generated 2024-02-25 | Home |