|
||||||||||
| 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.VideoPost
public class VideoPost
This class represents a post of type "video"
| Field Summary |
|---|
| Fields inherited from class com.tumblr.jumblr.types.Resource |
|---|
client |
| Constructor Summary | |
|---|---|
VideoPost()
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
detail()
Get the details for this post (in addition to the base details) |
String |
getCaption()
Get the caption from this post |
List<Video> |
getVideos()
Get the videos from this post |
void |
setCaption(String caption)
Set the caption for this post |
void |
setData(File file)
Set the data for this post |
void |
setEmbedCode(String embed)
Set the embed code 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 VideoPost()
| Method Detail |
|---|
public List<Video> getVideos()
public String getCaption()
public void setEmbedCode(String embed)
embed - the Embed HTML for this post
IllegalArgumentException - if 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 caption to setpublic Map<String,Object> detail()
detail in class Post
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||