Class TwitterService

  • All Implemented Interfaces:
    ITwitterService

    public class TwitterService
    extends java.lang.Object
    implements ITwitterService
    The Class TwitterService.
    • Constructor Detail

      • TwitterService

        public TwitterService()
        Instantiates a new twitter service.
    • Method Detail

      • getService

        public static ITwitterService getService()
        Gets the service.
        Returns:
        the service
      • sendTweet

        public void sendTweet​(java.lang.String strTweet,
                              CommandResult commandResult)
        Send tweet.
        Specified by:
        sendTweet in interface ITwitterService
        Parameters:
        strTweet - the str tweet
        commandResult - the command result
      • init

        public void init()
        Configure la lib tweeter.
        Specified by:
        init in interface ITwitterService