C# 클래스 withSIX.Core.Presentation.Services.CompressionUtil

상속: ICompressionUtil, IPresentationService
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
CreateTar ( IAbsoluteDirectoryPath directory, IAbsoluteFilePath outputFile ) : void
CreateZip ( IAbsoluteDirectoryPath directory, IAbsoluteFilePath outputFile ) : void
PackFiles ( string>.IEnumerable items, IAbsoluteFilePath path ) : void
UnpackGzip ( IAbsoluteFilePath sourceFile, IAbsoluteFilePath destFile, ITProgress progress = null ) : void
UnpackInternal ( IAbsoluteFilePath sourceFile, IAbsoluteDirectoryPath outputFolder, bool overwrite = false, bool fullPath = true, bool checkFileIntegrity = true, ITProgress progress = null ) : void
UnpackSingleInternal ( string sourceFile, string destFile ) : void

비공개 메소드들

메소드 설명
GetArchiveWithGzWorkaround ( IAbsoluteFilePath sourceFile, string ext ) : IArchive
GetString ( byte bytes ) : string
ReadHeader ( IAbsoluteFilePath sourceFile ) : string
TryReadHeader ( IAbsoluteFilePath sourceFile ) : string
TryUnpackArchive ( IAbsoluteFilePath destFile, ITProgress progress, GZipArchive archive ) : void
UnpackArchive ( IAbsoluteDirectoryPath outputFolder, bool overwrite, IArchive archive, ExtractionOptions options, IAbsoluteFilePath sourceFile ) : void

메소드 상세

CreateTar() 공개 메소드

public CreateTar ( IAbsoluteDirectoryPath directory, IAbsoluteFilePath outputFile ) : void
directory IAbsoluteDirectoryPath
outputFile IAbsoluteFilePath
리턴 void

CreateZip() 공개 메소드

public CreateZip ( IAbsoluteDirectoryPath directory, IAbsoluteFilePath outputFile ) : void
directory IAbsoluteDirectoryPath
outputFile IAbsoluteFilePath
리턴 void

PackFiles() 공개 메소드

public PackFiles ( string>.IEnumerable items, IAbsoluteFilePath path ) : void
items string>.IEnumerable
path IAbsoluteFilePath
리턴 void

UnpackGzip() 공개 메소드

public UnpackGzip ( IAbsoluteFilePath sourceFile, IAbsoluteFilePath destFile, ITProgress progress = null ) : void
sourceFile IAbsoluteFilePath
destFile IAbsoluteFilePath
progress ITProgress
리턴 void

UnpackInternal() 공개 메소드

public UnpackInternal ( IAbsoluteFilePath sourceFile, IAbsoluteDirectoryPath outputFolder, bool overwrite = false, bool fullPath = true, bool checkFileIntegrity = true, ITProgress progress = null ) : void
sourceFile IAbsoluteFilePath
outputFolder IAbsoluteDirectoryPath
overwrite bool
fullPath bool
checkFileIntegrity bool
progress ITProgress
리턴 void

UnpackSingleInternal() 공개 메소드

public UnpackSingleInternal ( string sourceFile, string destFile ) : void
sourceFile string
destFile string
리턴 void