C# Class ICSharpCode.SharpZipLib.Core.NameAndSizeFilter

NameAnsSizeFilter filters based on name and file size.
Inheritance: PathFilter
Show file Open project: icsharpcode/SharpZipLib

Public Methods

Method Description
IsMatch ( string name ) : bool

Test a filename to see if it matches the filter.

NameAndSizeFilter ( string filter, long minSize, long maxSize ) : System

Initialise a new instance of NameAndSizeFilter.

Method Details

IsMatch() public method

Test a filename to see if it matches the filter.
public IsMatch ( string name ) : bool
name string The filename to test.
return bool

NameAndSizeFilter() public method

Initialise a new instance of NameAndSizeFilter.
public NameAndSizeFilter ( string filter, long minSize, long maxSize ) : System
filter string The filter to apply.
minSize long The minimum file size to include.
maxSize long The maximum file size to include.
return System