List of usage examples for twitter4j StatusListener interface-usage
From source file TwitterGateway.java
public final class TwitterGateway implements StatusListener { public static final String screenName = "@KvinIink"; private String user; private String location[]; private String latlon[] = new String[2]; private RoutingResponse routingResponse;
From source file Streamer.java
public class Streamer extends Thread implements StatusListener { ArrayList<String> users = new ArrayList<>(); TwitterStream twitterStream; FilterQuery filter; LinkedList<Status> data = new LinkedList<>();
From source file au.net.moon.tStreamingArchiver.Archiver.java
/**
* Use the Twitter StreamingAPI to get filtered tweets and track some peoples
* tweets. StreamingAPI is case insensitive so keywords only need to be
* lowercase. Keywords are stored in searches.txt file in ./data directory
* <p>
*
From source file be.ugent.tiwi.sleroux.newsrec.newsreclib.twitter.StatusListenerAdapter.java
/** * * @author Sam Leroux <sam.leroux@ugent.be> */ public class StatusListenerAdapter implements StatusListener {
From source file br.com.porcelli.hornetq.integration.twitter.stream.listener.AbstractStatusBaseStreamListener.java
public abstract class AbstractStatusBaseStreamListener extends AbstractBaseStreamListener implements StatusListener { public AbstractStatusBaseStreamListener(final TwitterStreamDTO data, final MessageQueuing message, final ExceptionNotifier exceptionNotifier) { super(data, message, exceptionNotifier);
From source file br.com.porcelli.hornetq.integration.twitter.stream.listener.impl.TwitterStatusStreamSimpleListener.java
public class TwitterStatusStreamSimpleListener extends AbstractStatusBaseStreamListener implements StatusListener { private static final Logger log = Logger.getLogger(TwitterStatusStreamSimpleListener.class); public TwitterStatusStreamSimpleListener(final TwitterStreamDTO data, final MessageQueuing message, final ExceptionNotifier exceptionNotifier) { super(data, message, exceptionNotifier);
From source file cloudcomputebot.MentionListener.java
/** * * @author director */ public class MentionListener implements StatusListener {
From source file ColourUs.Stream.java
public class Stream extends Thread implements StatusListener { ArrayList<String> users = new ArrayList<>(); TwitterStream twitterStream; FilterQuery filter; LinkedList<Status> data = new LinkedList<>();
From source file com.datatorrent.contrib.twitter.TwitterSampleInput.java
/**
* Read input from Twitter. <p> <br>
*
* This test can only be run from command line using command line interface script.
* You need to set twitter authentication credentials in $HOME/.dt/dt-site.xml file in order to run this.
* The authentication requires following 4 information.
From source file com.datatorrent.demos.twitter.TwitterSampleInput.java
/**
* Read input from Twitter. <p> <br>
*
* This test can only be run from command line using command line interface script.
* You need to set twitter authentication credentials in $HOME/.stram/stram-site.xml file in order to run this.
* The authentication requires following 4 information.