C# Class SSIS.Extensions.ZipTask.TarManager

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

Public Methods

Method Description
Compress ( ) : void

Compress a given file into Tar archive.

Decompress ( ) : void

Decompress a Tar Archive.

TarManager ( string source, string target, TarCompressionLevel tarLevel, string password, bool recursive, bool removeSouce, bool overwriteTarget, LogLevel loglevel, IDTSComponentEvents componentEvents ) : ICSharpCode.SharpZipLib.BZip2

Initializes a new instance of the ZipManager class.

Private Methods

Method Description
ArchiveFile ( Stream outStream, DirectoryInfo dir ) : void

Recurse through directory and place matching files into archive.

ExtractArchive ( Stream inStream ) : void

Extracts the archive.

Log ( string Message, LogLevel minLogLevel ) : void

Logs the specified message.

Method Details

Compress() public method

Compress a given file into Tar archive.
public Compress ( ) : void
return void

Decompress() public method

Decompress a Tar Archive.
public Decompress ( ) : void
return void

TarManager() public method

Initializes a new instance of the ZipManager class.
public TarManager ( string source, string target, TarCompressionLevel tarLevel, string password, bool recursive, bool removeSouce, bool overwriteTarget, LogLevel loglevel, IDTSComponentEvents componentEvents ) : ICSharpCode.SharpZipLib.BZip2
source string The source.
target string The target.
tarLevel TarCompressionLevel
password string
recursive bool if set to true [recursive].
removeSouce bool if set to true [remove souce].
overwriteTarget bool if set to true [overwrite target].
loglevel LogLevel The loglevel.
componentEvents IDTSComponentEvents The component events.
return ICSharpCode.SharpZipLib.BZip2