net.asplode.tumblr
Class PhotoPost
java.lang.Object
net.asplode.tumblr.Post
net.asplode.tumblr.PhotoPost
public class PhotoPost
- extends Post
Nested classes/interfaces inherited from class net.asplode.tumblr.Post |
Post.State |
Methods inherited from class net.asplode.tumblr.Post |
postToTumblr, postToTumblr, setBlog, setCredentials, setGenerator, setPostUrl, setPrivate, setPublishOn, setSlug, setState, setTags, setTwitter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhotoPost
public PhotoPost()
setCaption
public void setCaption(java.lang.String caption)
throws java.io.UnsupportedEncodingException
- Parameters:
caption
- Caption. Optional. HTML allowed.
- Throws:
java.io.UnsupportedEncodingException
setClickThroughURL
public void setClickThroughURL(java.lang.String url)
throws java.io.UnsupportedEncodingException
- Parameters:
url
- Click-through URL.
- Throws:
java.io.UnsupportedEncodingException
setSourceURL
public void setSourceURL(java.lang.String url)
throws java.io.UnsupportedEncodingException
- Parameters:
url
- Source URL of the image
- Throws:
java.io.UnsupportedEncodingException
setSourceFile
public void setSourceFile(java.io.File image)
throws java.io.UnsupportedEncodingException
- Parameters:
image
- Image file
- Throws:
java.io.UnsupportedEncodingException