com.aetrion.flickr.blogs
Class BlogsInterface
java.lang.Object
com.aetrion.flickr.blogs.BlogsInterface
public class BlogsInterface
- extends java.lang.Object
Interface for working with Flickr blog configurations.
- Author:
- Anthony Eden
Method Summary |
java.util.Collection |
getList()
Get the collection of configured blogs for the calling user. |
void |
postPhoto(Photo photo,
java.lang.String blogId)
Post the specified photo to a blog. |
void |
postPhoto(Photo photo,
java.lang.String blogId,
java.lang.String blogPassword)
Post the specified photo to a blog. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_GET_LIST
public static final java.lang.String METHOD_GET_LIST
- See Also:
- Constant Field Values
METHOD_POST_PHOTO
public static final java.lang.String METHOD_POST_PHOTO
- See Also:
- Constant Field Values
BlogsInterface
public BlogsInterface(java.lang.String apiKey,
Transport transport)
postPhoto
public void postPhoto(Photo photo,
java.lang.String blogId,
java.lang.String blogPassword)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Post the specified photo to a blog. Note that the Photo.title and Photo.description are used for the blog entry
title and body respectively.
- Parameters:
photo
- The photo metadatablogId
- The blog IDblogPassword
- The blog password
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
postPhoto
public void postPhoto(Photo photo,
java.lang.String blogId)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Post the specified photo to a blog.
- Parameters:
photo
- The photo metadatablogId
- The blog ID
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
getList
public java.util.Collection getList()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Get the collection of configured blogs for the calling user.
- Returns:
- The Collection of configured blogs
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
Copyright (C) 2005-2007 Aetrion LLC. All Rights Reserved.