ch.odi.justblog.api
Interface BlogApi

All Known Implementing Classes:
BloggerApi

public interface BlogApi

Author:
oglueck

Method Summary
 Blog getBlog(java.net.URL apiurl, java.lang.String id)
          Tries to open the blog identified by id at the endpoint pointed to by apiurl.
 java.lang.String getName()
          Gets the human readable name of this Blog API.
 java.lang.String getRsdName()
          Gets the "official" name of this Blog API.
 

Method Detail

getRsdName

public java.lang.String getRsdName()
Gets the "official" name of this Blog API. Should be the string used in RSD.

Returns:

getName

public java.lang.String getName()
Gets the human readable name of this Blog API.

Returns:

getBlog

public Blog getBlog(java.net.URL apiurl,
                    java.lang.String id)
Tries to open the blog identified by id at the endpoint pointed to by apiurl. Implementing classes should avoid to authenticate against the blog at this time.

Parameters:
apiurl - the API endpoint
id - the Blog ID
Returns:
Returns a Blog implementation.


Copyright © 2005 Ortwin Glück. All Rights Reserved.