288289290291292293294295296297298
} void setSource(String query, DataSources ds) { if (ds == DataSources.Twitter) { dataSource = new TwitterSource(); ((TwitterSource)(dataSource)).setSearchQuery(query); dataSource.harvest(); } else { String site = ""; if (ds == DataSources.Amazon) {