Метод | Описание | |
---|---|---|
Create ( string zipFileName, |
Create archives based on specifications passed and internal state
|
|
Execute ( string newZipFilename, System.Windows.Forms.ToolStripProgressBar &ProgressBar ) : void |
Handle Filenames and execute Creation of the Zip unless none was passed.
|
|
ProcessFile ( object sender, |
Callback for adding a new file.
|
|
ZipFileArchiver ( ) : System |
Base constructor - initializes all fields to default values
|
Метод | Описание | |
---|---|---|
BuildFileList ( ) : bool |
Build the fileSpecs_ List of files to add to the archive.
|
|
GetBuffer ( ) : byte[] | ||
GetCompressionRatio ( long packedSize, long unpackedSize ) : int |
Calculate compression ratio as a percentage Doesnt allow for expansion (ratio > 100) as the resulting strings can get huge easily
|
|
InterpretExternalAttributes ( int operatingSystem, int attributes ) : string |
Interpret attributes in conjunction with operatingSystem
|
|
IsNumeric ( string rhs ) : bool |
Determine if string is numeric [0-9]+
|
|
MakeExternalAttributes ( |
Make external attributes suitable for a ZipEntry
|
|
WildcardToRegex ( string wildcard ) : string |
Convert a wildcard expression to a regular expression
|
public Create ( string zipFileName, |
||
zipFileName | string | |
fileSpecs | ||
ProgressBar | System.Windows.Forms.ToolStripProgressBar | |
Результат | void |
public Execute ( string newZipFilename, System.Windows.Forms.ToolStripProgressBar &ProgressBar ) : void | ||
newZipFilename | string | |
ProgressBar | System.Windows.Forms.ToolStripProgressBar | |
Результат | void |
public ProcessFile ( object sender, |
||
sender | object | The scanner calling this delegate. |
args | The event arguments. | |
Результат | void |