我不想下载其他库,我说的是这个:javax.swing.text.html.HTMLEditorKit.Parser
如何使用此解析器从页面中提取重复信息?
比如说,我在页面中有这段代码重复出现:
<tr>
<td class="info1">get this info</td>
<td class="info2">get this info</td>
<td class="info3">get this info</td>
</tr>
请提供示例代码。
提前致谢。