in java,which HTML parser can use HTML selector to get Element?
<p>i has a String <code>content</code>:</p>

<pre><code>    String content="&lt;HTML&gt;"
    +"&lt;HEAD&gt;"
    +"  &lt;meta content=\"text/html; charset=UTF-8\" http-equiv=\"content-type\"&gt;"
    +"  &lt;TITLE&gt;title&lt;/TITLE&gt;"
    +"&lt;/HEAD&gt;"
    +"&lt;BODY&gt;"
    +"&lt;div id=\"test\"&gt;hello world!&lt;/div&gt;"
    +"&lt;/BODY&gt;"
    +"&lt;/HTML&gt;"
    ;
</code></pre>

<p>i want to use HTML selector: </p>

<pre><code>#test 
</code></pre>

<p>to get Element <code>&lt;div id="test"&gt;hello world!&lt;/div&gt;</code></p>

<p>which java library can do this? (better same as most like javascript)</p>

<p>thanks :)</p>
