public class CommandLineParams
extends java.lang.Object
Constructor and Description |
---|
CommandLineParams(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBasePath() |
java.util.List<java.lang.String> |
getCommandOptions() |
int |
getDetailRecordNum() |
int |
getFirstRecord() |
java.io.File |
getInputFile() |
int |
getLastRecord() |
int |
getNumOfRecords() |
java.io.File |
getOutputFile() |
java.io.File |
getPropertiesFile() |
java.util.Map<java.lang.String,java.lang.String> |
getSkipWithCodes() |
java.lang.String |
getSyntax(java.lang.Class clazz) |
boolean |
isHideTAC() |
boolean |
isHideVersion() |
boolean |
isShowExtraOptions() |
void |
parseExtra(java.lang.String[] parts)
This receives the name and value of a parameter on the command line to
allow extended classes to perform extra parsing for specific variables
|
void |
setInputFile(java.io.File file) |
void |
validateParams() |
public java.lang.String getSyntax(java.lang.Class clazz)
public int getNumOfRecords()
public java.io.File getInputFile()
public java.io.File getPropertiesFile()
public int getDetailRecordNum()
public java.io.File getOutputFile()
public int getFirstRecord()
public int getLastRecord()
public java.util.Map<java.lang.String,java.lang.String> getSkipWithCodes()
public java.lang.String getBasePath()
public boolean isShowExtraOptions()
public void parseExtra(java.lang.String[] parts)
parts
- public void validateParams()
public java.util.List<java.lang.String> getCommandOptions()
public boolean isHideTAC()
public boolean isHideVersion()
public void setInputFile(java.io.File file)