D
dufffman
Hi,
I have seen java programs executed as below..
java TestArguementProgram --arg1 firstParameter --arg2 secondParameter
My question is, how is this format parsed once inside the java program
(besides using StringTokenizer)? I have used the Properties class to
parse name value pairs from a file, but figured that since its such
common convention, there has to be a better approach in java.
Thanks,
I have seen java programs executed as below..
java TestArguementProgram --arg1 firstParameter --arg2 secondParameter
My question is, how is this format parsed once inside the java program
(besides using StringTokenizer)? I have used the Properties class to
parse name value pairs from a file, but figured that since its such
common convention, there has to be a better approach in java.
Thanks,