C# Class SSIS.Extensions.ZipTask.ZipManager

显示文件 Open project: ElanHasson/SSIS-Extensions Class Usage Examples

Public Methods

Method Description
UnZip ( ) : void

Unzips the specified source.

Zip ( ) : void

Zips the specified source (File or Directory).

ZipManager ( string source, string target, ZipCompressionLevel zipLevel, string password, bool recursive, string fileFilter, bool removeSouce, bool overwriteTarget, LogLevel logLevel, IDTSComponentEvents componentEvents ) : ICSharpCode.SharpZipLib.Core

Initializes a new instance of the ZipManager class.

Private Methods

Method Description
Log ( string Message, LogLevel minLogLevel ) : void

Logs the specified message.

zipFile ( ZipOutputStream zipStream, DirectoryInfo baseDir, FileInfo inputFile ) : void

Zips the file.

Method Details

UnZip() public method

Unzips the specified source.
public UnZip ( ) : void
return void

Zip() public method

Zips the specified source (File or Directory).
public Zip ( ) : void
return void

ZipManager() public method

Initializes a new instance of the ZipManager class.
public ZipManager ( string source, string target, ZipCompressionLevel zipLevel, string password, bool recursive, string fileFilter, bool removeSouce, bool overwriteTarget, LogLevel logLevel, IDTSComponentEvents componentEvents ) : ICSharpCode.SharpZipLib.Core
source string The source.
target string The target.
zipLevel ZipCompressionLevel The zip level.
password string
recursive bool if set to true [recursive].
fileFilter string
removeSouce bool if set to true [remove souce].
overwriteTarget bool if set to true [overwrite target].
logLevel LogLevel
componentEvents IDTSComponentEvents The component events.
return ICSharpCode.SharpZipLib.Core