|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectHttpClient
org.switchboard.browser.Browser
org.switchboard.AllMusicMood
public class AllMusicMood
Represents a mood found on the AllMusic.com "Moods" page.
| Constructor Summary | |
|---|---|
AllMusicMood(String mood,
String url)
|
|
| Method Summary | |
|---|---|
String |
getMood()
Gets the word. |
String |
getRandomArtist()
Gets either an artist who made one of the top albums, or an artist who made one of the top songs. |
String[] |
getSynonyms()
Gets a list of synonyms for the mood. |
Album[] |
getTopAlbums()
Gets the top albums, as listed on the AllMusic "Browse by mood..." page. |
String[] |
getTopArtists()
|
Song[] |
getTopSongs()
Gets the top songs, as listed on the AllMusic "Browse by mood..." page. |
void |
setThesaurus(Thesaurus thesaurus)
Sets the Thesaurus to use to look up synonyms. |
| Methods inherited from class org.switchboard.browser.Browser |
|---|
addCookie, addCookie, addListener, addTreeModelListener, clearCookies, getAcceptCookies, getChild, getChildCount, getImages, getIndexOfChild, getLinks, getRoot, getSentences, getTitle, getURL, isLeaf, main, newHTML, newXML, numImages, open, query, refresh, removeTreeModelListener, save, save, setAcceptCookies, setTag, valueForPathChanged |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AllMusicMood(String mood,
String url)
| Method Detail |
|---|
public String getMood()
public Album[] getTopAlbums()
public Song[] getTopSongs()
public String[] getTopArtists()
public String getRandomArtist()
public void setThesaurus(Thesaurus thesaurus)
thesaurus - Sets the Thesaurus to be used to look up synonyms.public String[] getSynonyms()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||