Public Types | |
enum | Overwrite { Prompt, Never, Always } |
Defines the desired handling when overwriting files. More... | |
Public Member Functions | |
FastZip () | |
Initialize a default instance of FastZip. | |
FastZip (FastZipEvents events) | |
Initialise a new instance of FastZip. | |
delegate bool | ConfirmOverwriteDelegate (string fileName) |
Delegate called when confirming overwriting of files. | |
void | CreateZip (string zipFileName, string sourceDirectory, bool recurse, string fileFilter, string directoryFilter) |
Create a zip file. | |
void | CreateZip (string zipFileName, string sourceDirectory, bool recurse, string fileFilter) |
Create a zip file/archive. | |
void | ExtractZip (string zipFileName, string targetDirectory, string fileFilter) |
Extract the contents of a zip file. | |
void | ExtractZip (string zipFileName, string targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, string fileFilter, string directoryFilter) |
Exatract the contents of a zip file. | |
Properties | |
bool | CreateEmptyDirectories |
Get/set a value indicating wether empty directories should be created. | |
ZipNameTransform | NameTransform |
Get or set the ZipNameTransform active when creating Zip files.. | |
byte[] | buffer |
ZipOutputStream | outputStream |
ZipInputStream | inputStream |
string | password = null |
string | targetDirectory |
string | sourceDirectory |
NameFilter | fileFilter |
NameFilter | directoryFilter |
Overwrite | overwrite |
ConfirmOverwriteDelegate | confirmDelegate |
bool | restoreDateTime = false |
bool | createEmptyDirectories = false |
FastZipEvents | events |
ZipNameTransform | nameTransform |
Private Member Functions | |
void | ProcessDirectory (object sender, DirectoryEventArgs e) |
void | ProcessFile (object sender, ScanEventArgs e) |
void | AddFileContents (string name) |
void | ExtractFileEntry (ZipEntry entry, string targetName) |
bool | NameIsValid (string name) |
void | ExtractEntry (ZipEntry entry) |
Definition at line 125 of file FastZip.cs.
|
Defines the desired handling when overwriting files.
Definition at line 147 of file FastZip.cs. |
|
Initialize a default instance of FastZip.
Definition at line 130 of file FastZip.cs. |
|
Initialise a new instance of FastZip.
Definition at line 139 of file FastZip.cs. |
|
Definition at line 294 of file FastZip.cs. |
|
Delegate called when confirming overwriting of files.
|
|
Create a zip file/archive.
Definition at line 210 of file FastZip.cs. |
|
Create a zip file.
Definition at line 184 of file FastZip.cs. References ICSharpCode::SharpZipLib::Core::FileSystemScanner::ProcessDirectory, ICSharpCode::SharpZipLib::Core::ProcessDirectoryDelegate(), ICSharpCode::SharpZipLib::Core::FileSystemScanner::ProcessFile, ICSharpCode::SharpZipLib::Core::ProcessFileDelegate(), and ICSharpCode::SharpZipLib::Core::FileSystemScanner::Scan(). |
|
Definition at line 357 of file FastZip.cs. References ICSharpCode::SharpZipLib::Zip::ZipEntry::Name. |
|
Definition at line 313 of file FastZip.cs. |
|
Exatract the contents of a zip file.
Definition at line 235 of file FastZip.cs. References ICSharpCode::SharpZipLib::Zip::ZipEntry::Name. |
|
Extract the contents of a zip file.
Definition at line 221 of file FastZip.cs. |
|
Definition at line 352 of file FastZip.cs. |
|
Definition at line 268 of file FastZip.cs. References ICSharpCode::SharpZipLib::Core::DirectoryEventArgs::HasMatchingFiles, and ICSharpCode::SharpZipLib::Core::ScanEventArgs::Name. |
|
Definition at line 283 of file FastZip.cs. References ICSharpCode::SharpZipLib::Core::ScanEventArgs::Name. |
|
Definition at line 414 of file FastZip.cs. |
|
Definition at line 423 of file FastZip.cs. |
|
Definition at line 425 of file FastZip.cs. |
|
Get/set a value indicating wether empty directories should be created.
Definition at line 166 of file FastZip.cs. |
|
Definition at line 421 of file FastZip.cs. |
|
Definition at line 426 of file FastZip.cs. |
|
Definition at line 420 of file FastZip.cs. |
|
Definition at line 416 of file FastZip.cs. |
|
Definition at line 427 of file FastZip.cs. |
|
Get or set the ZipNameTransform active when creating Zip files..
Definition at line 401 of file FastZip.cs. |
|
Definition at line 415 of file FastZip.cs. |
|
Definition at line 422 of file FastZip.cs. |
|
Definition at line 417 of file FastZip.cs. |
|
Definition at line 424 of file FastZip.cs. |
|
Definition at line 419 of file FastZip.cs. |
|
Definition at line 418 of file FastZip.cs. |