public static Collection<String> findAllUrls(String html, String hostUrl){
Collection<String> urls = new HashSet<String>();
try {
urls.addAll(Util.findAllLinkHref(html, hostUrl));
urls.addAll(new DefaultLinkFinder(html).getLinks());
urls.addAll(new IframeLinkFinder(html).getLinks());
urls.addAll(new FrameLinkFinder(html).getLinks());
}catch (Exception e){
e.printStackTrace();
}
return urls;