org.rometools.propono.atom.client
Class AtomClientFactory

java.lang.Object
  extended by org.rometools.propono.atom.client.AtomClientFactory

public class AtomClientFactory
extends Object

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, AuthStrategy authStrategy)
          Create AtomService by reading service doc from Atom Server.
static ClientCollection getCollection(String uri, AuthStrategy authStrategy)
          Create ClientCollection bound to URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomClientFactory

public AtomClientFactory()
Method Detail

getAtomService

public static ClientAtomService getAtomService(String uri,
                                               AuthStrategy authStrategy)
                                        throws ProponoException
Create AtomService by reading service doc from Atom Server.

Throws:
ProponoException

getCollection

public static ClientCollection getCollection(String uri,
                                             AuthStrategy authStrategy)
                                      throws ProponoException
Create ClientCollection bound to URI.

Throws:
ProponoException


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