|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rometools.propono.blogclient.atomprotocol.AtomConnection
public class AtomConnection
Atom protocol of BlogConnection. Connects to Atom server, creates AtomBlog object for each Atom workspace found and within each blog a collection for each Atom collection found.
Constructor Summary | |
---|---|
AtomConnection(String uri,
String username,
String password)
Create Atom blog client instance for specified URL and user account. |
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 |
---|
public AtomConnection(String uri, String username, String password) throws BlogClientException
uri
- End-point URL of Atom serviceusername
- Username of accountpassword
- Password of account
BlogClientException
Method Detail |
---|
public List getBlogs()
getBlogs
in interface BlogConnection
public Blog getBlog(String token)
getBlog
in interface BlogConnection
public void setAppkey(String appkey)
setAppkey
in interface BlogConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |