|
||||||||||
| 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.TextPost
public class TextPost
This class represents a post of type "text"
| Field Summary |
|---|
| Fields inherited from class com.tumblr.jumblr.types.Resource |
|---|
client |
| Constructor Summary | |
|---|---|
TextPost()
|
|
| Method Summary | |
|---|---|
protected Map<String,Object> |
detail()
Get the details of this post (and the base details) |
String |
getBody()
Get the body of this post |
String |
getTitle()
Get the title of this post |
void |
save()
save swallowing IOException (only for audio, video, photo) |
void |
setBody(String body)
Set the body of this post |
void |
setTitle(String title)
Set the title of 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, 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 TextPost()
| Method Detail |
|---|
public String getTitle()
public String getBody()
public void setTitle(String title)
title - the titlepublic void setBody(String body)
body - the bodyprotected Map<String,Object> detail()
detail in class Postpublic void save()
save in class Post
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||