|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tumblr.jumblr.types.Resource
com.tumblr.jumblr.types.Post
com.tumblr.jumblr.types.AudioPost
public class AudioPost
This class represents a post of type "audio"
| Field Summary |
|---|
| Fields inherited from class com.tumblr.jumblr.types.Resource |
|---|
client |
| Constructor Summary | |
|---|---|
AudioPost()
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
detail()
Get the details about this post (along with base details) |
String |
getAlbumArtUrl()
Get the album art for this post |
String |
getAlbumName()
Get the album for this post |
String |
getArtistName()
Get the artist for this post |
String |
getCaption()
Get the caption for this post |
String |
getEmbedCode()
Get the embed code for this Post |
Integer |
getPlayCount()
Get the play count for this post |
String |
getTrackName()
Get the track name for this post |
Integer |
getTrackNumber()
Get the track number for this post |
Integer |
getYear()
Get the year for this post |
void |
setCaption(String caption)
Set the caption for this post |
void |
setData(File file)
Set the data for this post |
void |
setExternalUrl(String url)
Set the external url for this post |
| Methods inherited from class com.tumblr.jumblr.types.Post |
|---|
addTag, delete, getBlogName, getDateGMT, getFormat, getId, getPostUrl, getRebloggedFromId, getRebloggedFromName, getReblogKey, getSourceUrl, getState, getTags, getTimestamp, getType, isBookmarklet, isLiked, isMobile, like, reblog, reblog, removeTag, save, setBlogName, setDate, setDate, setFormat, setId, setSlug, setState, setTags, toString, unlike |
| Methods inherited from class com.tumblr.jumblr.types.Resource |
|---|
getClient, setClient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AudioPost()
| Method Detail |
|---|
public Integer getPlayCount()
public String getTrackName()
public String getAlbumName()
public String getArtistName()
public String getAlbumArtUrl()
public Integer getYear()
public Integer getTrackNumber()
public String getCaption()
public String getEmbedCode()
public void setExternalUrl(String url)
url - the external url
IllegalArgumentException - when data is already setpublic void setData(File file)
file - the file to read from
IllegalArgumentException - source is already setpublic void setCaption(String caption)
caption - the captionpublic Map<String,Object> detail()
detail in class Post
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||