com.tumblr.jumblr.types
Class TextPost

java.lang.Object
  extended by com.tumblr.jumblr.types.Resource
      extended by com.tumblr.jumblr.types.Post
          extended by com.tumblr.jumblr.types.TextPost

public class TextPost
extends Post

This class represents a post of type "text"

Author:
jc

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

TextPost

public TextPost()
Method Detail

getTitle

public String getTitle()
Get the title of this post

Returns:
the title

getBody

public String getBody()
Get the body of this post

Returns:
the body

setTitle

public void setTitle(String title)
Set the title of this post

Parameters:
title - the title

setBody

public void setBody(String body)
Set the body of this post

Parameters:
body - the body

detail

protected Map<String,Object> detail()
Get the details of this post (and the base details)

Overrides:
detail in class Post
Returns:
the details

save

public void save()
save swallowing IOException (only for audio, video, photo)

Overrides:
save in class Post


Copyright © 2013. All Rights Reserved.