C# Class subtitleMemorize.InfoEncoding

Represents a text encoding.
Mostra file Open project: ChangSpivey/SubtitleMemorize

Public Methods

Method 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 method

public InfoEncoding ( string longName, string shortName, int codePage ) : System
longName string
shortName string
codePage int
return System

getEncodings() public static method

public static getEncodings ( ) : subtitleMemorize.InfoEncoding[]
return subtitleMemorize.InfoEncoding[]

isValidShortEncoding() public static method

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

longToShort() public static method

Convert a long name to a short name.
public static longToShort ( string longName ) : string
longName string
return string

shortToLong() public static method

Convert a short name to a long name.
public static shortToLong ( string shortName ) : string
shortName string
return string