public class PicSlurperUtils extends Object
Constructor and Description |
---|
PicSlurperUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
updateStats(File statsFile,
StatusConsumption statusConsumption)
Update a specific file with statistics of URLs being consumed
|
static void |
updateStats(File statsFile,
StatusConsumption statusConsumption,
boolean forgetImageURLs)
Update a specific file with statistics of URLs being consumed
|
static void |
updateTweets(File outRoot,
twitter4j.Status status)
Updated a tweets.json file in the specified location with the given
StreamJSONStatusList.ReadableWritableJSON instance |
public PicSlurperUtils()
public static void updateStats(File statsFile, StatusConsumption statusConsumption) throws IOException
statsFile
- statusConsumption
- IOException
public static void updateStats(File statsFile, StatusConsumption statusConsumption, boolean forgetImageURLs) throws IOException
statsFile
- statusConsumption
- forgetImageURLs
- whether the actual image urls collected should be saved. On
the global stats file this should be trueIOException
public static void updateTweets(File outRoot, twitter4j.Status status) throws IOException
StreamJSONStatusList.ReadableWritableJSON
instanceoutRoot
- status
- IOException