Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.syndication.propono.blogclient.metaweblog
Class MetaWeblogConnection

    java.lang.Object
      com.sun.syndication.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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD