C# Class CSL.DirectoryHandler

Inheritance: System.ComponentModel.BackgroundWorker
Exibir arquivo Open project: joslinm/CSL

Public Methods

Method Description
CreateEmptyDirectories ( List paths ) : void
DeleteFile ( FileInfo file ) : bool
DeleteFolder ( DirectoryInfo folder ) : bool
DeleteTempFolder ( ) : bool
DeleteZipFiles ( ) : void
DirectoryHandler ( ) : System
GetFileExists ( string file ) : bool
GetFileInfos ( string files ) : System.IO.FileInfo[]
GetHTMLLookUp ( string value ) : string
GetTorrentZips ( ) : string[]
GetTorrents ( ) : string[]
LogError ( string error ) : void
MoveFile ( FileInfo origin, DirectoryInfo dest ) : bool
MoveTorrentFile ( Torrent t ) : string
MoveZipFiles ( ) : void
UnzipFile ( string zipFile ) : string[]
UnzipFiles ( string zipFiles ) : List

Protected Methods

Method Description
OnDoWork ( DoWorkEventArgs e ) : void

Method Details

CreateEmptyDirectories() public static method

public static CreateEmptyDirectories ( List paths ) : void
paths List
return void

DeleteFile() public static method

public static DeleteFile ( FileInfo file ) : bool
file System.IO.FileInfo
return bool

DeleteFolder() public static method

public static DeleteFolder ( DirectoryInfo folder ) : bool
folder System.IO.DirectoryInfo
return bool

DeleteTempFolder() public static method

public static DeleteTempFolder ( ) : bool
return bool

DeleteZipFiles() public static method

public static DeleteZipFiles ( ) : void
return void

DirectoryHandler() public method

public DirectoryHandler ( ) : System
return System

GetFileExists() public static method

public static GetFileExists ( string file ) : bool
file string
return bool

GetFileInfos() public static method

public static GetFileInfos ( string files ) : System.IO.FileInfo[]
files string
return System.IO.FileInfo[]

GetHTMLLookUp() public static method

public static GetHTMLLookUp ( string value ) : string
value string
return string

GetTorrentZips() public static method

public static GetTorrentZips ( ) : string[]
return string[]

GetTorrents() public static method

public static GetTorrents ( ) : string[]
return string[]

LogError() public static method

public static LogError ( string error ) : void
error string
return void

MoveFile() public static method

public static MoveFile ( FileInfo origin, DirectoryInfo dest ) : bool
origin System.IO.FileInfo
dest System.IO.DirectoryInfo
return bool

MoveTorrentFile() public static method

public static MoveTorrentFile ( Torrent t ) : string
t Torrent
return string

MoveZipFiles() public static method

public static MoveZipFiles ( ) : void
return void

OnDoWork() protected method

protected OnDoWork ( DoWorkEventArgs e ) : void
e System.ComponentModel.DoWorkEventArgs
return void

UnzipFile() public static method

public static UnzipFile ( string zipFile ) : string[]
zipFile string
return string[]

UnzipFiles() public method

public UnzipFiles ( string zipFiles ) : List
zipFiles string
return List