C# 클래스 ARCed.Helpers.Compressor

Static class used for compressing/extracting files and folders using 7zip.
파일 보기 프로젝트 열기: borisblizzard/arcreator

공개 메소드들

메소드 설명
CompressDirectory ( string inDir, string outFile, bool notify = false ) : void

Compresses a directory into a single archive

ExtractArchive ( string inFile, string outDir ) : void

Extracts and archive to the given directory

비공개 메소드들

메소드 설명
ExtractorExtractionFinished ( object sender, EventArgs e ) : void

메소드 상세

CompressDirectory() 공개 정적인 메소드

Compresses a directory into a single archive
public static CompressDirectory ( string inDir, string outFile, bool notify = false ) : void
inDir string The path to the directory to compress
outFile string The archive name to create
notify bool Flag to notify user when finished
리턴 void

ExtractArchive() 공개 정적인 메소드

Extracts and archive to the given directory
public static ExtractArchive ( string inFile, string outDir ) : void
inFile string Path to the archive to extract
outDir string The path to the target directory for extraction
리턴 void