C# Class FileSplitter.Utils

Afficher le fichier Open project: dubasdey/File-Splitter

Méthodes publiques

Méthode Description
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

Method Details

GetFileEncoding() public static méthode

Detects the byte order mark of a file and returns an appropriate encoding for the file.
public static GetFileEncoding ( string srcFile ) : Encoding
srcFile string
Résultat System.Text.Encoding

getMessageIcon() public static méthode

public static getMessageIcon ( ExceptionMessage msg ) : MessageBoxIcon
msg ExceptionMessage
Résultat MessageBoxIcon

getMessageText() public static méthode

public static getMessageText ( ExceptionMessage msg ) : String
msg ExceptionMessage
Résultat String

unitConverter() public static méthode

Unit order converter
public static unitConverter ( System.Int64 items, SplitUnit units ) : System.Int64
items System.Int64
units SplitUnit Kind of split unit to use
Résultat System.Int64