@@ -0,0 +1,1075 @@
+package com.glezo.webCrawler;%0A%0Aimport java.util.Date;%0Aimport java.util.concurrent.Callable;%0A%0Aimport com.glezo.htmlWrapper.HtmlWrapper;%0Aimport com.glezo.htmlWrapper.HtmlWrapperReturn;%0Aimport com.glezo.parsedUrl.ParsedUrl;%0A%0Apublic class Crawling_Task implements Callable%3CCrawledUrl%3E %0A%7B%0A%09private ParsedUrl%09%09url_parsed;%0A%09private Crawl_Profile%09profile;%0A%09%0A%09public Crawling_Task(ParsedUrl url_parsed,Crawl_Profile profile)%0A%09%7B%0A%09%09this.url_parsed=url_parsed;%0A%09%09this.profile=profile;%0A%09%7D%0A%09public CrawledUrl call() throws Exception %0A%09%7B%0A%09%09HtmlWrapper html_wrapper=new HtmlWrapper(this.url_parsed.get_whole_path()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getUserAgent()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getMethod()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getConnectTimeout()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getReadTimeout()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getFollowRedirect()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getProxy()%0A%09%09%09%09%09%09%09%09%09%09%09%09,this.profile.getTor());%0A%09%09HtmlWrapperReturn result=html_wrapper.get_html(this.profile.getNumRetries());%0A%09%09CrawledUrl current_entry=new CrawledUrl(this.url_parsed,result,new Date());%0A%09%09return current_entry;%0A%09%7D%0A%0A%7D%0A

Create Crawling_Task.java