/** * begin crawling with the default url * * @throws IOException * @throws SQLException */ public void crawl() throws IOException, SQLException { System.out.println("Starting crawling...."); // crawl(starturl); //dfs crawl bfscrawl(starturl); // bfs crawl System.out.println("crawling complete!"); }