public class StormPicSlurper extends InOutToolOptions
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_CONSOLE_LOGIN
System property name for whether twitter console login should be allowed
|
output
Constructor and Description |
---|
StormPicSlurper()
no args
|
StormPicSlurper(String[] args) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
prepare()
prepare the tool for running
|
static File |
validateLocalOutput(String out,
boolean overwrite,
boolean contin)
Validate the (local) ouput from an String and return the corresponding
file.
|
getAllInputs, getInput, getInputFile, getOutput, isContinue, isForce, overwriteOutput, prepareMultivaluedArgument, setInput, setInputFile, setOutput
public static final String ALLOW_CONSOLE_LOGIN
public StormPicSlurper(String[] args)
args
- tool argumentspublic StormPicSlurper()
public void prepare()
public static File validateLocalOutput(String out, boolean overwrite, boolean contin) throws IOException
out
- where the file will gooverwrite
- whether to overwrite existing filescontin
- whether an existing output should be continued (i.e. ignored
if it exists)IOException
- if the file exists, but can't be deletedpublic static void main(String[] args) throws IOException, TweetTokeniserException, InterruptedException
args
- IOException
TweetTokeniserException
InterruptedException