C# Class ID3.ID3v2Frames.Language

Provide a class to read/write Languages
Exibir arquivo Open project: jasine/SaveDouban

Private Properties

Property Type Description
InitializeLanguages void
Read void

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsValidLanguageID ( string Language ) : bool

Indicate if specific string is valid LanguageID

Language ( ) : System

Create new language

Language ( Stream Data ) : System

Create new language from specific Sream

Language ( string LanguageID ) : System

Create new language

LanguagesArray ( string Format ) : string[]

Gets list of Languages according to Format

ToString ( ) : string
ToString ( string Format ) : string
Write ( Stream Data ) : void

Write LanguageID of current language to specific Stream

Private Methods

Method Description
InitializeLanguages ( ) : void

Add languages specification to _Languages Dictionary

Read ( Stream Data ) : void

Read language from specific FileStream

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsValidLanguageID() public static method

Indicate if specific string is valid LanguageID
public static IsValidLanguageID ( string Language ) : bool
Language string LanguageID to control
return bool

Language() public method

Create new language
public Language ( ) : System
return System

Language() public method

Create new language from specific Sream
public Language ( Stream Data ) : System
Data Stream Stream to read language from
return System

Language() public method

Create new language
public Language ( string LanguageID ) : System
LanguageID string 3 character LanguageID or string.empty
return System

LanguagesArray() public static method

Gets list of Languages according to Format
public static LanguagesArray ( string Format ) : string[]
Format string Use LName and LID to make your format
return string[]

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( string Format ) : string
Format string
return string

Write() public method

Write LanguageID of current language to specific Stream
public Write ( Stream Data ) : void
Data Stream
return void