|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shredzone.flattr4j.FlattrFactory
public final class FlattrFactory
A factory class that makes creation of the Flattr services as easy as possible.
Method Summary | |
---|---|
FlattrService |
createFlattrService(AccessToken accessToken)
Creates a FlattrService for the given access token. |
FlattrService |
createFlattrService(String accessToken)
Creates a FlattrService for the given access token. |
OpenService |
createOpenService()
Creates an OpenService . |
static FlattrFactory |
getInstance()
Retrieves an instance of the FlattrFactory . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FlattrFactory getInstance()
FlattrFactory
. The factory is a singleton.
FlattrFactory
public FlattrService createFlattrService(String accessToken)
FlattrService
for the given access token. The returned service is
associated to the user of the access token.
accessToken
- Access token
FlattrService
public FlattrService createFlattrService(AccessToken accessToken)
FlattrService
for the given access token. The returned service is
associated to the user of the access token.
accessToken
- AccessToken
instance
FlattrService
public OpenService createOpenService()
OpenService
.
OpenService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |