C# 클래스 DroidExplorer.Plugins.BackupConverter

상속: DroidExplorer.Core.Plugins.BasePlugin
파일 보기 프로젝트 열기: camalot/droidexplorer 1 사용 예제들

공개 메소드들

메소드 설명
BackupConverter ( IPluginHost host ) : System

Initializes a new instance of the BackupConverter class.

ConvertTo ( ConvertType convertType, String sourceFile ) : String

Converts a backup to the specified type.

Execute ( IPluginHost pluginHost, Core currentDirectory, string args ) : void

Executes the specified plugin host.

GetExtendedHeader ( String file ) : ExtendedBackupHeader

Gets the extended header.

IsBasicBackup ( String file ) : bool

Determines whether [is basic backup] [the specified file].

IsExtendedBackup ( String file ) : bool

Determines whether [is extended backup] [the specified file].

비공개 메소드들

메소드 설명
GetConvertType ( string type ) : ConvertType

Gets the type of the convert.

ReadHeaderLine ( Stream input ) : String

Reads the header line.

RemoveExtendedInfo ( string file ) : String

Removes the extended info.

WriteExtendedInfo ( string file ) : String

Writes the extended info.

WriteHeaderLine ( Stream output, String line ) : void

Writes the header line.

메소드 상세

BackupConverter() 공개 메소드

Initializes a new instance of the BackupConverter class.
public BackupConverter ( IPluginHost host ) : System
host IPluginHost The host.
리턴 System

ConvertTo() 공개 메소드

Converts a backup to the specified type.
public ConvertTo ( ConvertType convertType, String sourceFile ) : String
convertType ConvertType Type of the convert.
sourceFile String The source file.
리턴 String

Execute() 공개 메소드

Executes the specified plugin host.
public Execute ( IPluginHost pluginHost, Core currentDirectory, string args ) : void
pluginHost IPluginHost The plugin host.
currentDirectory Core The current directory.
args string The args.
리턴 void

GetExtendedHeader() 공개 메소드

Gets the extended header.
public GetExtendedHeader ( String file ) : ExtendedBackupHeader
file String The file.
리턴 ExtendedBackupHeader

IsBasicBackup() 공개 메소드

Determines whether [is basic backup] [the specified file].
public IsBasicBackup ( String file ) : bool
file String The file.
리턴 bool

IsExtendedBackup() 공개 메소드

Determines whether [is extended backup] [the specified file].
public IsExtendedBackup ( String file ) : bool
file String The file.
리턴 bool