com.tumblr.jumblr.types
Class QuotePost

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

public class QuotePost
extends Post

This class represents a post of type "quote"

Author:
jc

Field Summary
 
Fields inherited from class com.tumblr.jumblr.types.Resource
client
 
Constructor Summary
QuotePost()
           
 
Method Summary
protected  Map<String,Object> detail()
          Get the details for this post (and the base details)
 String getSource()
          Get the source of this post
 String getText()
          Get the text of this post
 void save()
          save swallowing IOException (only for audio, video, photo)
 void setSource(String source)
          Set the source of this post
 void setText(String text)
          Set the text 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

QuotePost

public QuotePost()
Method Detail

getText

public String getText()
Get the text of this post

Returns:
the text

getSource

public String getSource()
Get the source of this post

Returns:
the source

setText

public void setText(String text)
Set the text of this post

Parameters:
text - the text

setSource

public void setSource(String source)
Set the source of this post

Parameters:
source - the source

detail

protected Map<String,Object> detail()
Get the details for 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.