C# 클래스 Cmd_Tar, SharpZipLib

The tar class implements a simplistic version of the traditional UNIX tar command. It currently supports creating, listing, and extracting from archives. It supports GZIP, unix compress and bzip2 compression GNU long filename extensions are supported, POSIX extensions are not yet supported... See the help (-? or --help) for option details.
파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

공개 메소드들

메소드 설명
Cmd_Tar ( ) : System

Initialise default instance of Cmd_Tar. Sets up the default userName with the system 'UserName' property.

InstanceMain ( string argv ) : void

This is the "real" main. The class main() instantiates a tar object for the application and then calls this method. Process the arguments and perform the requested operation.

Main ( string argv ) : void

The main entry point of the tar class.

ShowTarProgressMessage ( TarArchive archive, TarEntry entry, string message ) : void

Display progress information on console

비공개 메소드들

메소드 설명
DecodeMode ( int mode ) : string
DecodeType ( int type, bool slashTerminated ) : string
GetFilesForSpec ( string spec ) : string[]
ProcessArguments ( string args ) : int

Process arguments, handling options, and return the index of the first non-option argument.

SharpZipVersion ( ) : string
ShowHelp ( ) : void

Print help information.

Version ( ) : void

Print version information.

메소드 상세

Cmd_Tar() 공개 메소드

Initialise default instance of Cmd_Tar. Sets up the default userName with the system 'UserName' property.
public Cmd_Tar ( ) : System
리턴 System

InstanceMain() 공개 메소드

This is the "real" main. The class main() instantiates a tar object for the application and then calls this method. Process the arguments and perform the requested operation.
public InstanceMain ( string argv ) : void
argv string
리턴 void

Main() 공개 정적인 메소드

The main entry point of the tar class.
public static Main ( string argv ) : void
argv string
리턴 void

ShowTarProgressMessage() 공개 메소드

Display progress information on console
public ShowTarProgressMessage ( TarArchive archive, TarEntry entry, string message ) : void
archive ICSharpCode.SharpZipLib.Tar.TarArchive
entry ICSharpCode.SharpZipLib.Tar.TarEntry
message string
리턴 void