Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected int |
listeners |
protected String |
mbid |
protected String |
name |
protected int |
percentageChange
This property is only available on hype charts, like
Chart.getHypedArtists(String) or Group.getHype(String, String) |
protected int |
playcount |
protected boolean |
streamable |
protected Collection<String> |
tags |
protected String |
url |
protected int |
userPlaycount |
imageUrls
Modifier | Constructor and Description |
---|---|
protected |
MusicEntry(String name,
String url) |
protected |
MusicEntry(String name,
String url,
String mbid,
int playcount,
int listeners,
boolean streamable) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
int |
getListeners() |
String |
getMbid() |
String |
getName() |
int |
getPercentageChange()
Returns the value of the "percentage change" fields in weekly hype charts responses, such as in
Group.getHype(String, String)
or Chart.getHypedArtists(String) . |
int |
getPlaycount() |
Collection<String> |
getTags() |
String |
getUrl() |
int |
getUserPlaycount() |
Date |
getWikiLastChanged() |
String |
getWikiSummary() |
String |
getWikiText() |
boolean |
isStreamable() |
protected static void |
loadStandardInfo(MusicEntry entry,
DomElement element)
Loads all generic information from an XML
DomElement into the given MusicEntry instance, i.e. |
availableSizes, getImageURL, loadImages
protected String name
protected String url
protected String mbid
protected int playcount
protected int userPlaycount
protected int listeners
protected boolean streamable
protected String id
protected int percentageChange
Chart.getHypedArtists(String)
or Group.getHype(String, String)
protected Collection<String> tags
public int getListeners()
public String getMbid()
public String getName()
public String getId()
public int getPlaycount()
public int getUserPlaycount()
public boolean isStreamable()
public String getUrl()
public Collection<String> getTags()
public int getPercentageChange()
Group.getHype(String, String)
or Chart.getHypedArtists(String)
.protected static void loadStandardInfo(MusicEntry entry, DomElement element)
DomElement
into the given MusicEntry
instance, i.e. the following
tags:entry
- An entryelement
- XML source elementpublic Date getWikiLastChanged()
public String getWikiSummary()
public String getWikiText()