C# Class QianQianLrc.DownloadLyrics

Afficher le fichier Open project: jasine/SaveDouban

Méthodes publiques

Méthode Description
DownloadLyrics ( ) : System
GetLyric ( string artist, string title ) : string
SaveLyric ( string artist, string title, string path ) : bool

Private Methods

Méthode Description
Distance ( string a, string b ) : int

Levenshtein Distance算法,计算两个字符串之间的差异

q_InitializeProxy ( object sender, EventArgs e ) : void
q_SelectSong ( object sender, EventArgs e ) : void
q_WebException ( object sender, EventArgs e ) : void

Method Details

DownloadLyrics() public méthode

public DownloadLyrics ( ) : System
Résultat System

GetLyric() public méthode

public GetLyric ( string artist, string title ) : string
artist string
title string
Résultat string

SaveLyric() public méthode

public SaveLyric ( string artist, string title, string path ) : bool
artist string
title string
path string
Résultat bool