[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TListDirectoriesSearcher

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Stores directory names matching a given search criteria in a TStrings class instance.

Declaration

Source position: fileutil.pas line 170

type TListDirectoriesSearcher = class(TFileSearcher)

protected

  procedure DoDirectoryFound; override;

  

Performs actions needed to add a directory path to the list of matches for the searcher.

public

  constructor Create();

  

Constructor for the class instance.

end;

Inheritance

TListDirectoriesSearcher

  

Stores directory names matching a given search criteria in a TStrings class instance.

|

TFileSearcher

  

Implements an iterator used to search for files or directories.

|

TFileIterator

  

Implements an iterator for file and directory names on the local file system.

|

TObject

Description

TListDirectoriesSearcher is a TFileSearcher descendant used to store directory names matching the specified search criteria in a TStrings class instance. It extends the ancestor class by implementing an internal member used to store the TStrings class instance.

Use the PathSeparator property to specify the separator used between path names passed as an argument to the Search method.

TListDirectoriesSearcher is used to implement the FindAllDirectories routine.

See also

TFileSearcher

  

Implements an iterator used to search for files or directories.

TFileSearcher.PathSeparator

  

Character used as a delimiter between directory paths.

TFileSearcher.Search

  

Searches for files or directories in the specified path(s) using the specified options.

TListFileSearcher

  

Stores file names matching a search criteria in a TStrings class instance.

FindAllDirectories

  

Stores directory names matching the search criteria in a TStringList class instance.


Version 3.2 Generated 2024-02-25 Home