Class TwitterDataFile

java.lang.Object
  extended by TwitterDataFile

public class TwitterDataFile
extends java.lang.Object

A class representing a file filled with Twitter data.

Version:
Sp15
Author:
Joel

Constructor Summary
TwitterDataFile(java.lang.String filename)
          Creates a new TwitterDataFile representing the given file of twitter data.
 
Method Summary
 java.util.ArrayList<java.lang.String> getTwitterDataList()
          Gets the twitter data from the TwitterDataFile as an ArrayList of tweet data Each tweet data is a String of the format: timestamp TAB author TAB content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterDataFile

public TwitterDataFile(java.lang.String filename)
Creates a new TwitterDataFile representing the given file of twitter data. File names are pathnames and should include the extension (e.g., myFile.txt)

Parameters:
filename - A pathname String
Method Detail

getTwitterDataList

public java.util.ArrayList<java.lang.String> getTwitterDataList()
Gets the twitter data from the TwitterDataFile as an ArrayList of tweet data Each tweet data is a String of the format: timestamp TAB author TAB content

Returns:
an ArrayList of the tweets (each represented as a String)