C# Класс FileSplitter.Utils

Показать файл Открыть проект

Открытые методы

Метод Описание
GetFileEncoding ( string srcFile ) : Encoding

Detects the byte order mark of a file and returns an appropriate encoding for the file.

getMessageIcon ( ExceptionMessage msg ) : MessageBoxIcon
getMessageText ( ExceptionMessage msg ) : String
unitConverter ( System.Int64 items, SplitUnit units ) : System.Int64

Unit order converter

Описание методов

GetFileEncoding() публичный статический Метод

Detects the byte order mark of a file and returns an appropriate encoding for the file.
public static GetFileEncoding ( string srcFile ) : Encoding
srcFile string
Результат System.Text.Encoding

getMessageIcon() публичный статический Метод

public static getMessageIcon ( ExceptionMessage msg ) : MessageBoxIcon
msg ExceptionMessage
Результат MessageBoxIcon

getMessageText() публичный статический Метод

public static getMessageText ( ExceptionMessage msg ) : String
msg ExceptionMessage
Результат String

unitConverter() публичный статический Метод

Unit order converter
public static unitConverter ( System.Int64 items, SplitUnit units ) : System.Int64
items System.Int64
units SplitUnit Kind of split unit to use
Результат System.Int64