|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.atunes.kernel.modules.lyrics.LyricsEngine
public abstract class LyricsEngine
The Class LyricsEngine.
| Constructor Summary | |
|---|---|
LyricsEngine()
|
|
| Method Summary | |
|---|---|
protected static java.lang.String |
encodeString(java.lang.String str)
Encode string. |
protected static java.net.URLConnection |
getConnection(java.lang.String url)
Gets the connection. |
abstract java.lang.String |
getLyricsFor(java.lang.String artist,
java.lang.String title)
Gets the lyrics for. |
protected static java.lang.String |
readURL(java.net.URLConnection connection,
java.lang.String charset)
Read url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LyricsEngine()
| Method Detail |
|---|
protected static final java.lang.String encodeString(java.lang.String str)
str - the str
protected static final java.net.URLConnection getConnection(java.lang.String url)
throws java.net.UnknownHostException,
java.io.IOException
url - the url
java.net.UnknownHostException - the unknown host exception
java.io.IOException - Signals that an I/O exception has occurred.
protected static final java.lang.String readURL(java.net.URLConnection connection,
java.lang.String charset)
throws java.io.IOException
connection - the connectioncharset - the charset
java.io.IOException - Signals that an I/O exception has occurred.
public abstract java.lang.String getLyricsFor(java.lang.String artist,
java.lang.String title)
artist - the artisttitle - the title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||