|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.propono.atom.client.AtomClientFactory
public class AtomClientFactory
Creates AtomService or ClientCollection based on username, password and end-point URI of Atom protocol service.
Constructor Summary | |
---|---|
AtomClientFactory()
|
Method Summary | |
---|---|
static ClientAtomService |
getAtomService(String uri,
String username,
String password)
Create AtomService by reading service doc from Atom Server. |
static ClientCollection |
getCollection(String uri,
String username,
String password)
Create ClientCollection bound to URI. |
static ClientAtomService |
getGDataAtomService(String uri,
String email,
String password,
String service)
Create AtomService by reading service doc from GData Atom Server. |
static ClientCollection |
getGDataCollection(String uri,
String email,
String password,
String service)
Create ClientCollection via collection URI from GData Atom Server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AtomClientFactory()
Method Detail |
---|
public static ClientAtomService getAtomService(String uri, String username, String password) throws ProponoException
ProponoException
public static ClientCollection getCollection(String uri, String username, String password) throws ProponoException
ProponoException
public static ClientAtomService getGDataAtomService(String uri, String email, String password, String service) throws ProponoException
uri
- URI of Atom service documentemail
- Gmail email address, used as usernamepassword
- Password for Gmail email accountservice
- Type of service, e.g. 'blogger'
ProponoException
public static ClientCollection getGDataCollection(String uri, String email, String password, String service) throws ProponoException
uri
- URI of collectionemail
- Gmail email address, used as usernamepassword
- Password for Gmail email accountservice
- Type of service, e.g. 'blogger'
ProponoException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |