public List<String> getLinks() throws Exception {
HTMLParser2 parser2 = new HTMLParser2();
HTMLDocument document = parser2.createDocument(file, null);
HyperLinkUtil linkUtil = new HyperLinkUtil() ;
return linkUtil.scanSiteLink(document.getRoot());
}
public static void main(String[] args) throws Exception {
AttributeExplorer explorer = new AttributeExplorer();
List<String> list = explorer.getAttribute("table", "width");