public class OutputDirectoryOption extends java.lang.Object implements OptionHandler
| Modifier and Type | Field and Description |
|---|---|
private static java.io.File |
m_outputDir |
static java.lang.String |
OPTION_OUTPUT_DIR |
| Constructor and Description |
|---|
OutputDirectoryOption() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOption()
Indicates the option string
|
java.io.File |
getOutputDirectory() |
void |
handleOption(java.lang.String value)
This function parses the argument at the current index.
|
boolean |
requireArguments()
Indicates whether or not this option requires an argument.
|
void |
setOutputDirectory(java.io.File dir) |
java.lang.String |
toString() |
public static java.lang.String OPTION_OUTPUT_DIR
private static java.io.File m_outputDir
public java.lang.String getOption()
OptionHandlergetOption in interface OptionHandlerpublic boolean requireArguments()
OptionHandlerrequireArguments in interface OptionHandlerpublic void handleOption(java.lang.String value)
throws java.lang.Exception
OptionHandlerhandleOption in interface OptionHandlervalue - the argument for the optionjava.lang.Exception - in case of error.public java.lang.String toString()
toString in class java.lang.Objectpublic java.io.File getOutputDirectory()
public void setOutputDirectory(java.io.File dir)