TListFileSearcher class
Stores file names matching a search criteria in a TStrings class instance.
Declaration
TListFileSearcher = class(TFileSearcher)Inheritance
- TListFileSearcher
- TFileSearcher
- TFileIterator
Description
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.
Resources allocated to the TStrings instance must be freed by the caller.
TListFileSearcher does not own or manage the resources for the TStrings
instance.
See also
Methods
DoFileFound | protected | Performs actions required to add a file name to the list of matches for the file searcher. |
Create | public | Constructor for the class instance. |
Inherited
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
