Метод | Описание | |
---|---|---|
CreateDir ( string dir ) : |
||
CurlDataProgress ( |
||
DeleteAllFiles ( string directory, string fileNotToDelete ) : void | ||
DirectoryExists ( string dir ) : bool | ||
DownloadHTTPFile ( string httpPath, string savePath ) : bool |
Download a public file from a URL
|
|
FileExists ( string file ) : bool | ||
GetExtension ( string FileName ) : string |
return file extension with leading point
|
|
GetFileName ( string FileName ) : string |
Return file name and extension without path
|
|
GetFileNameWithoutExtension ( string FileName ) : string |
Remove the extension and path of a filename
|
|
GetFileNameWithoutExtension ( string FileName, bool withPath ) : string |
remove extension and keep path if withPath is set to true
|
|
GetPath ( string FileName ) : string |
Return the path of the file
|
|
GetUniqueDirectory ( string dir, bool useUnderScore ) : string |
return a unique dir name
|
|
GetUniqueFileName ( string sourceFN ) : string |
check if filename exist , and return a filename_num that is unique
|
|
GetUniqueFileName ( string sourceFN, bool useUnderScore ) : string | ||
OpenWebPage ( string url ) : void | ||
ReadAutoCompleteFile ( string path ) : string[] | ||
ReplaceFileExtension ( string FileName, string newExtension ) : string |
replace the filename extension
|
|
UnZip ( string pathToUnZip, string targetFolder ) : void | ||
WriteAutoCompleteFile ( string autoCompleteStr, string path ) : void | ||
sendLogEvent ( string message, string mSender, Enums mType ) : void |
Send a message event
|
|
sendLogEvent ( string message, string mSender, Enums mType, bool verbose ) : void | ||
sendLogEvent ( string message, string errorFile, string mSender, Enums mType ) : void | ||
sendLogEvent ( string message, string errorFile, string mSender, Enums mType, bool verbose ) : void |
Метод | Описание | |
---|---|---|
readByte ( |
||
readFloat ( |
Read floats into an array
|
|
readFloat ( |
read single float
|
|
readInt32 ( |
read int32
|
|
readInt32 ( |
read single int 32
|
|
readString ( |
||
writeFloatToFile ( |
||
writeInt32ToFile ( |
||
writeStringAndLengthToFile ( |
||
writeStringToFile ( |
||
writeStringToFile ( |
Метод | Описание | |
---|---|---|
sendErrorLogEvent ( string message ) : void | ||
sendErrorLogEvent ( string message, bool verbose ) : void | ||
writeLogToFile ( string message, string mSender, Enums mType ) : void |
public static CreateDir ( string dir ) : |
||
dir | string | |
Результат |
public static CurlDataProgress ( |
||
info | ||
Результат | void |
public static DeleteAllFiles ( string directory, string fileNotToDelete ) : void | ||
directory | string | |
fileNotToDelete | string | |
Результат | void |
public static DirectoryExists ( string dir ) : bool | ||
dir | string | |
Результат | bool |
public static DownloadHTTPFile ( string httpPath, string savePath ) : bool | ||
httpPath | string | |
savePath | string | |
Результат | bool |
public static FileExists ( string file ) : bool | ||
file | string | |
Результат | bool |
public static GetExtension ( string FileName ) : string | ||
FileName | string | |
Результат | string |
public static GetFileName ( string FileName ) : string | ||
FileName | string | |
Результат | string |
public static GetFileNameWithoutExtension ( string FileName ) : string | ||
FileName | string | |
Результат | string |
public static GetFileNameWithoutExtension ( string FileName, bool withPath ) : string | ||
FileName | string | |
withPath | bool | |
Результат | string |
public static GetPath ( string FileName ) : string | ||
FileName | string | |
Результат | string |
public static GetUniqueDirectory ( string dir, bool useUnderScore ) : string | ||
dir | string | Directory without ending slash |
useUnderScore | bool | |
Результат | string |
public static GetUniqueFileName ( string sourceFN ) : string | ||
sourceFN | string | |
Результат | string |
public static GetUniqueFileName ( string sourceFN, bool useUnderScore ) : string | ||
sourceFN | string | |
useUnderScore | bool | |
Результат | string |
public static OpenWebPage ( string url ) : void | ||
url | string | |
Результат | void |
public static ReadAutoCompleteFile ( string path ) : string[] | ||
path | string | |
Результат | string[] |
public static ReplaceFileExtension ( string FileName, string newExtension ) : string | ||
FileName | string | original file name to change |
newExtension | string | new extension , with the dot |
Результат | string |
public static UnZip ( string pathToUnZip, string targetFolder ) : void | ||
pathToUnZip | string | |
targetFolder | string | |
Результат | void |
public static WriteAutoCompleteFile ( string autoCompleteStr, string path ) : void | ||
autoCompleteStr | string | |
path | string | |
Результат | void |
protected readByte ( |
||
ruleFileBinaryReader | ||
Результат | byte |
protected readFloat ( |
||
ruleFileBinaryReader | ||
numOfIFloatToRead | int | |
Результат | List |
protected readFloat ( |
||
ruleFileBinaryReader | ||
Результат | float |
protected readInt32 ( |
||
ruleFileBinaryReader | ||
numOfIntToRead | int | |
Результат | List |
protected readInt32 ( |
||
ruleFileBinaryReader | ||
Результат | int |
protected readString ( |
||
ruleFileBinaryReader | ||
numOfCharToRead | int | |
Результат | string |
public static sendLogEvent ( string message, string mSender, Enums mType ) : void | ||
message | string | |
mSender | string | |
mType | Enums | |
Результат | void |
public static sendLogEvent ( string message, string mSender, Enums mType, bool verbose ) : void | ||
message | string | |
mSender | string | |
mType | Enums | |
verbose | bool | |
Результат | void |
public static sendLogEvent ( string message, string errorFile, string mSender, Enums mType ) : void | ||
message | string | |
errorFile | string | |
mSender | string | |
mType | Enums | |
Результат | void |
public static sendLogEvent ( string message, string errorFile, string mSender, Enums mType, bool verbose ) : void | ||
message | string | |
errorFile | string | |
mSender | string | |
mType | Enums | |
verbose | bool | |
Результат | void |
protected writeFloatToFile ( |
||
ruleFileBinaryWriter | ||
f | float | |
Результат | bool |
protected writeInt32ToFile ( |
||
ruleFileBinaryWriter | ||
i | int | |
Результат | bool |
protected writeStringAndLengthToFile ( |
||
ruleFileBinaryWriter | ||
s | string | |
Результат | bool |
protected writeStringToFile ( |
||
ruleFileBinaryWriter | ||
s | string | |
Результат | bool |
protected writeStringToFile ( |
||
ruleFileBinaryWriter | ||
s | string | |
endChar | bool | |
Результат | bool |