Standard Java Class for common URL/URI maniupulation
<p>This question has almost certainly been asked before, but I ask it anyway because I couldn't find an answer.</p>

<p>Generally, is there a utility class of some sort that assists in common String manipulations associated with URL/URIs?</p>

<p>I'm thinking something like Java SE's <a href="http://download.oracle.com/javase/6/docs/api/java/net/URL.html" rel="nofollow">URL</a> Class, but maybe a little beefier. I'm looking for something that will let you do simple things, like: </p>

<ul>
<li>Get a List of query string parameters</li>
<li>An "addParameter" method to add a
query string parameter, and it will
take care of adding "&amp;", "?", and "="
where necessary </li>
<li>Also, encoding
parameter values would be ideal...</li>
</ul>

<p>Let me know, thanks!</p>
