How to parse the command parameter in java?
<p>For example, the user run my programme like this</p>

<p><code>myprogram -p1 my_name, -p2 my_address, -p3 my_gender</code></p>

<p>But the user may type this, and it still valid:</p>

<p><code>myprogram -p2 my_address, -p1 my_name,-p3 my_gender</code></p>

<p>How can I parse it in Java? Thanks.</p>
