Example usage for twitter4j StatusStream interface-usage

List of usage examples for twitter4j StatusStream interface-usage

Introduction

In this page you can find the example usage for twitter4j StatusStream interface-usage.

Usage

From source file cc.twittertools.corpus.data.Bz2JsonStatusBlockReader.java

/**
 * Abstraction for an stream of statuses, backed by an underlying bz2 file with JSON-encoded
 * tweets, one per line.
 */
public class Bz2JsonStatusBlockReader implements StatusStream {
    private final InputStream in;

From source file cc.twittertools.corpus.data.JsonStatusBlockReader.java

/**
 * Abstraction for an stream of statuses, backed by an underlying gzipped file with JSON-encoded
 * tweets, one per line.
 */
public class JsonStatusBlockReader implements StatusStream {
    private final BufferedReader br;

From source file cc.twittertools.corpus.data.JsonStatusCorpusReader.java

/**
 * Abstraction for a corpus of statuses. A corpus is assumed to consist of a number of blocks, each
 * represented by a gzipped file within a root directory. This object will allow to caller to read
 * through all blocks, in sorted lexicographic order of the files.
 */
public class JsonStatusCorpusReader implements StatusStream {

From source file cc.twittertools.corpus.data.TarJsonStatusCorpusReader.java

/**
 * Abstraction for a corpus of statuses. A corpus is assumed to consist of a number of blocks, each
 * represented by a bz2 file within a tar file. This object will allow to caller to read
 * through all blocks.
 */
public class TarJsonStatusCorpusReader implements StatusStream {

From source file cc.twittertools.corpus.data.TwitterstreamJsonStatusCorpusReader.java

/**
 * Abstraction for a corpus of statuses. A corpus is assumed to consist of a number of blocks, each
 * represented by a tar file within a root directory. This object will allow to caller to read
 * through all blocks, in sorted lexicographic order of the files.
 */
public class TwitterstreamJsonStatusCorpusReader implements StatusStream {