public class TwitterService extends Object implements ITwitterService
| Constructor and Description |
|---|
TwitterService()
Instantiates a new twitter service.
|
| Modifier and Type | Method and Description |
|---|---|
static ITwitterService |
getService()
Gets the service.
|
void |
init()
Configure la lib tweeter.
|
void |
sendTweet(String strTweet,
CommandResult commandResult)
Send tweet.
|
public static ITwitterService getService()
public void sendTweet(String strTweet, CommandResult commandResult)
sendTweet in interface ITwitterServicestrTweet - the str tweetcommandResult - the command resultpublic void init()
init in interface ITwitterServiceCopyright © 2022 City of Paris. All rights reserved.