C# Class DroidExplorer.Plugins.Data.BartExecutor

Inheritance: IShellProcess
Mostra file Open project: camalot/droidexplorer

Private Properties

Property Type Description
BartExecutor System
CopyBart void
CreateArgs string
ExecuteBart void

Public Methods

Method Description
Backup ( string romName ) : void

Backups the specified rom name.

Cleanup ( ) : void

Deletes the bart file.

Delete ( string romName ) : void

Deletes the specified rom name.

List ( ) : List

Lists this instance.

Restore ( string romName ) : void

Restores the specified rom name.

SetBaseProcess ( System process ) : void

Sets the base process.

SetErrorStream ( System reader ) : void

Sets the error stream.

SetInputStream ( System writer ) : void

Sets the input stream.

SetOutputStream ( System reader ) : void

Sets the output stream.

Protected Methods

Method Description
OnComplete ( EventArgs e ) : void

Raises the E:RestoreComplete event.

Private Methods

Method Description
BartExecutor ( ) : System

Initializes a new instance of the BartExecutor class.

CopyBart ( ) : void

Copies the bart file to the device.

CreateArgs ( ) : string

Creates the args.

ExecuteBart ( string command ) : void

Executes the bart command.

Method Details

Backup() public method

Backups the specified rom name.
public Backup ( string romName ) : void
romName string Name of the rom.
return void

Cleanup() public method

Deletes the bart file.
public Cleanup ( ) : void
return void

Delete() public method

Deletes the specified rom name.
public Delete ( string romName ) : void
romName string Name of the rom.
return void

List() public method

Lists this instance.
public List ( ) : List
return List

OnComplete() protected method

Raises the E:RestoreComplete event.
protected OnComplete ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
return void

Restore() public method

Restores the specified rom name.
public Restore ( string romName ) : void
romName string Name of the rom.
return void

SetBaseProcess() public method

Sets the base process.
public SetBaseProcess ( System process ) : void
process System The process.
return void

SetErrorStream() public method

Sets the error stream.
public SetErrorStream ( System reader ) : void
reader System The reader.
return void

SetInputStream() public method

Sets the input stream.
public SetInputStream ( System writer ) : void
writer System The writer.
return void

SetOutputStream() public method

Sets the output stream.
public SetOutputStream ( System reader ) : void
reader System The reader.
return void