public final class FlattrFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
FlattrService |
createFlattrService()
Creates a
FlattrService that is only able to execute commands without
scope. |
FlattrService |
createFlattrService(AccessToken accessToken)
Creates a
FlattrService for the given access token. |
FlattrService |
createFlattrService(String accessToken)
Creates a
FlattrService for the given access token. |
static FlattrFactory |
getInstance()
Retrieves an instance of the
FlattrFactory. |
public static FlattrFactory getInstance()
FlattrFactory. The factory is a singleton.FlattrFactorypublic FlattrService createFlattrService(String accessToken)
FlattrService for the given access token. The returned service is
associated to the user of the access token.accessToken - Access tokenFlattrServicepublic FlattrService createFlattrService(AccessToken accessToken)
FlattrService for the given access token. The returned service is
associated to the user of the access token.accessToken - AccessToken instanceFlattrServicepublic FlattrService createFlattrService()
FlattrService that is only able to execute commands without
scope.
This is used to merge FlattrService and OpenService in the future.
FlattrServiceCopyright © 2010–2014. All rights reserved.