fr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.htmlCleaner
Class Html_Cleaner
java.lang.Object
fr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.htmlCleaner.Html_Cleaner
public class Html_Cleaner
- extends Object
This class cleans the Web page.
Html_Cleaner
public Html_Cleaner()
get_clean_page
public org.htmlcleaner.TagNode get_clean_page(File file)
throws IOException
- Cleans the Html file.
- Parameters:
file - file object that needs to be clean.
- Returns:
- clean TagNode
- Throws:
IOException
get_clean_page
public org.htmlcleaner.TagNode get_clean_page(URL url)
throws IOException
- clean the content of URL
- Parameters:
url - URL whose contents needs to be clean
- Returns:
- clean TagNode
- Throws:
IOException