org.rometools.propono.blogclient.metaweblog
Class MetaWeblogConnection

java.lang.Object
  extended by org.rometools.propono.blogclient.metaweblog.MetaWeblogConnection
All Implemented Interfaces:
BlogConnection

public class MetaWeblogConnection
extends Object
implements BlogConnection

BlogClient implementation that uses a mix of Blogger and MetaWeblog API methods.


Constructor Summary
MetaWeblogConnection(String url, String userName, String password)
           
 
Method Summary
 Blog getBlog(String token)
          Get blog by token
 List getBlogs()
          Returns collection of blogs available from this connection
 void setAppkey(String appkey)
          Set appkey (optional, needed by some blog servers)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaWeblogConnection

public MetaWeblogConnection(String url,
                            String userName,
                            String password)
                     throws BlogClientException
Throws:
BlogClientException
Method Detail

getBlogs

public List getBlogs()
Returns collection of blogs available from this connection

Specified by:
getBlogs in interface BlogConnection

getBlog

public Blog getBlog(String token)
Get blog by token

Specified by:
getBlog in interface BlogConnection

setAppkey

public void setAppkey(String appkey)
Set appkey (optional, needed by some blog servers)

Specified by:
setAppkey in interface BlogConnection


Copyright © 2007-2013 ROME Project. All Rights Reserved.