C# Class Seal.Helpers.FileHelper

ファイルを表示 Open project: ariacom/Seal-Report Class Usage Examples

Public Methods

Method Description
AddFolderChoices ( string path, string prefix, List choices ) : void
CleanFilePath ( string filePath ) : string
CopyDirectory ( string source, string destination, bool recursive ) : void
CopySealFile ( string path, string destinationFolder ) : string
DeleteSealFile ( string path ) : void
GetResultFilePrefix ( string path ) : string
GetTempUniqueFileName ( string filePath, string newExtension = "" ) : string
GetUniqueFileName ( string filePath, string newExtension = "" ) : string
GetUniqueFileName ( string directory, string fileName, string newExtension = "" ) : string
IsSealAttachedFile ( string path ) : bool
IsSealReportFile ( string path ) : bool
MoveSealFile ( string source, string destination, bool copy ) : void
PurgeTempApplicationDirectory ( ) : void
PurgeTempDirectory ( string directoryPath ) : void
ReadFile ( string path, string data ) : string
ReportHasSchedule ( string path ) : bool
WriteFile ( string path, string data ) : void

Method Details

AddFolderChoices() public static method

public static AddFolderChoices ( string path, string prefix, List choices ) : void
path string
prefix string
choices List
return void

CleanFilePath() public static method

public static CleanFilePath ( string filePath ) : string
filePath string
return string

CopyDirectory() public static method

public static CopyDirectory ( string source, string destination, bool recursive ) : void
source string
destination string
recursive bool
return void

CopySealFile() public static method

public static CopySealFile ( string path, string destinationFolder ) : string
path string
destinationFolder string
return string

DeleteSealFile() public static method

public static DeleteSealFile ( string path ) : void
path string
return void

GetResultFilePrefix() public static method

public static GetResultFilePrefix ( string path ) : string
path string
return string

GetTempUniqueFileName() public static method

public static GetTempUniqueFileName ( string filePath, string newExtension = "" ) : string
filePath string
newExtension string
return string

GetUniqueFileName() public static method

public static GetUniqueFileName ( string filePath, string newExtension = "" ) : string
filePath string
newExtension string
return string

GetUniqueFileName() public static method

public static GetUniqueFileName ( string directory, string fileName, string newExtension = "" ) : string
directory string
fileName string
newExtension string
return string

IsSealAttachedFile() public static method

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

IsSealReportFile() public static method

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

MoveSealFile() public static method

public static MoveSealFile ( string source, string destination, bool copy ) : void
source string
destination string
copy bool
return void

PurgeTempApplicationDirectory() public static method

public static PurgeTempApplicationDirectory ( ) : void
return void

PurgeTempDirectory() public static method

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

ReadFile() public static method

public static ReadFile ( string path, string data ) : string
path string
data string
return string

ReportHasSchedule() public static method

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

WriteFile() public static method

public static WriteFile ( string path, string data ) : void
path string
data string
return void