C# Class QianQianLrc.DownloadLyrics

Mostra file Open project: jasine/SaveDouban

Public Methods

Method Description
DownloadLyrics ( ) : System
GetLyric ( string artist, string title ) : string
SaveLyric ( string artist, string title, string path ) : bool

Private Methods

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

public DownloadLyrics ( ) : System
return System

GetLyric() public method

public GetLyric ( string artist, string title ) : string
artist string
title string
return string

SaveLyric() public method

public SaveLyric ( string artist, string title, string path ) : bool
artist string
title string
path string
return bool