C# Class subtitleMemorize.InfoEncoding

Represents a text encoding.
Afficher le fichier Open project: ChangSpivey/SubtitleMemorize

Méthodes publiques

Méthode Description
InfoEncoding ( string longName, string shortName, int codePage ) : System
getEncodings ( ) : subtitleMemorize.InfoEncoding[]
isValidShortEncoding ( string shortName ) : bool

Is the provided short name a valid encoding?

longToShort ( string longName ) : string

Convert a long name to a short name.

shortToLong ( string shortName ) : string

Convert a short name to a long name.

Method Details

InfoEncoding() public méthode

public InfoEncoding ( string longName, string shortName, int codePage ) : System
longName string
shortName string
codePage int
Résultat System

getEncodings() public static méthode

public static getEncodings ( ) : subtitleMemorize.InfoEncoding[]
Résultat subtitleMemorize.InfoEncoding[]

isValidShortEncoding() public static méthode

Is the provided short name a valid encoding?
public static isValidShortEncoding ( string shortName ) : bool
shortName string
Résultat bool

longToShort() public static méthode

Convert a long name to a short name.
public static longToShort ( string longName ) : string
longName string
Résultat string

shortToLong() public static méthode

Convert a short name to a long name.
public static shortToLong ( string shortName ) : string
shortName string
Résultat string