How do I decompose a URL into its component parts in Java?
<p>My requirements are fairly simple, but I need to do a lot of this so I'm looking for a robust solution.</p>

<p>Is there a good light-weight library for decomposing URLs into their component parts in Java?  I'm referring to hostname, query string, etc.</p>
