public class TwitterService extends Object
Modifier and Type | Field and Description |
---|---|
protected TwitterFactory |
tf |
Constructor and Description |
---|
TwitterService() |
Modifier and Type | Method and Description |
---|---|
List<String> |
searchTweets(String keywords) |
void |
setTwitterFactory(TwitterFactory tf) |
String |
userInfo(String id) |
protected TwitterFactory tf
public List<String> searchTweets(String keywords) throws twitter4j.TwitterException
twitter4j.TwitterException
public String userInfo(String id) throws twitter4j.TwitterException
twitter4j.TwitterException
public void setTwitterFactory(TwitterFactory tf)
Copyright © 2020 JBoss by Red Hat. All rights reserved.