public class InputDataParser extends java.lang.Object
Constructor and Description |
---|
InputDataParser() |
Modifier and Type | Method and Description |
---|---|
private void |
checkInputData()
Checks the input data flag for errors and prints a suitable error
message followed by terminating the application if it finds any.
|
InputData |
parse(java.lang.String[] args)
Parses and validates the input arguments.
|
private InputData |
parseInput(java.lang.String[] args)
Parses the input arguments into the inut data container and sets the
flag according to whether or not the input fulfills the requirements.
|
InputData inputData
private InputData parseInput(java.lang.String[] args)
args:
- String[] - Input arguments.private void checkInputData()
public InputData parse(java.lang.String[] args)
args:
- String[] - The input arguments.