C# Class BExIS.IO.FileHelper

Mostra file Open project: BEXIS2/Core

Public Methods

Method Description
Create ( string path ) : FileStream
CreateDicrectoriesIfNotExist ( string directoryPath ) : void
Delete ( string file ) : bool
FileExist ( string path ) : bool
MoveFile ( string tempFile, string destinationPath ) : bool
WaitForFile ( string fullPath ) : bool

Method Details

Create() public static method

public static Create ( string path ) : FileStream
path string
return System.IO.FileStream

CreateDicrectoriesIfNotExist() public static method

public static CreateDicrectoriesIfNotExist ( string directoryPath ) : void
directoryPath string
return void

Delete() public static method

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

FileExist() public static method

public static FileExist ( string path ) : bool
path string
return bool

MoveFile() public static method

public static MoveFile ( string tempFile, string destinationPath ) : bool
tempFile string
destinationPath string
return bool

WaitForFile() public static method

public static WaitForFile ( string fullPath ) : bool
fullPath string
return bool