Multi-Valued Command Line Arguments
Hello friends,
I got a query about passing multi valued command line arguments.
I'll give the arguments to be passed for clear understanding of the question
arguments are as follows:
1)parameter 1
2)parameter 2
3)parameter 3
4)parameter 4 which actually consists of values as follows: (multi-valued)
Column1 Column2 Column3 Column4 Column5
2 Y Some value 3 N
1 N Null 4 Y
3 N Null 1 Y
4 Y Some value 2 N
so i am looking for ways to handle such arguments from command line,
any suggestion and help is appreciated.
Thanks :)
Joe
Re: Multi-Valued Command Line Arguments
From the main method parameters:
args[0] = parameter1
args[1] = parameter2
args[2] = parameter3
args[3] = parameter4-column1
args[4] = parameter4-column2
...