title: Query String Manipulation in Java
body: <p>Does anyone have, or know of, a java class that I can use to manipulate query strings?</p>
  
  <p>Essentially I'd like a class that I can simply give a query string to and then delete, add and modify query string KVP's.</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>In response to a comment made to this question, the query string will look something like this;</p>
  
  <pre><code>N=123+456+112&amp;Ntt=koala&amp;D=abc
  </code></pre>
  
  <p>So I'd like to pass this class the query string and say something like;</p>
  
  <pre><code>String[] N = queryStringClass.getParameter("N");
  </code></pre>
  
  <p>and then maybe</p>
  
  <pre><code>queryStringClass.setParameter("N", N);
  </code></pre>
  
  <p>and maybe <code>queryStringClass.removeParameter("N");</code></p>
  
  <p>Or something to that effect.</p>