Fingerprint_Card
Loading...
Searching...
No Matches
ICSharpCode.SharpZipLib.Core.PathFilter Class Reference

PathFilter filters directories and files using a form of regular expressions by full path name. See NameFilter for more detail on filtering. More...

Inheritance diagram for ICSharpCode.SharpZipLib.Core.PathFilter:
Collaboration diagram for ICSharpCode.SharpZipLib.Core.PathFilter:

Public Member Functions

 PathFilter (string filter)
 Initialise a new instance of PathFilter.
virtual bool IsMatch (string name)
 Test a name to see if it matches the filter.

Private Attributes

NameFilter nameFilter_

Detailed Description

PathFilter filters directories and files using a form of regular expressions by full path name. See NameFilter for more detail on filtering.

Constructor & Destructor Documentation

◆ PathFilter()

ICSharpCode.SharpZipLib.Core.PathFilter.PathFilter ( string filter)

Initialise a new instance of PathFilter.

Parameters
filterThe filter expression to apply.

Member Function Documentation

◆ IsMatch()

virtual bool ICSharpCode.SharpZipLib.Core.PathFilter.IsMatch ( string name)
virtual

Test a name to see if it matches the filter.

Parameters
nameThe name to test.
Returns
True if the name matches, false otherwise.

Path.GetFullPath(string) is used to get the full path before matching.

Implements ICSharpCode.SharpZipLib.Core.IScanFilter.

Reimplemented in ICSharpCode.SharpZipLib.Core.ExtendedPathFilter, and ICSharpCode.SharpZipLib.Core.NameAndSizeFilter.

Member Data Documentation

◆ nameFilter_

NameFilter ICSharpCode.SharpZipLib.Core.PathFilter.nameFilter_
private

The documentation for this class was generated from the following file: