fr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.htmlCleaner
Class Html_Cleaner

java.lang.Object
  extended by fr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.htmlCleaner.Html_Cleaner

public class Html_Cleaner
extends Object

This class cleans the Web page.


Constructor Summary
Html_Cleaner()
           
 
Method Summary
 org.htmlcleaner.TagNode get_clean_page(File file)
          Cleans the Html file.
 org.htmlcleaner.TagNode get_clean_page(URL url)
          clean the content of URL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Html_Cleaner

public Html_Cleaner()
Method Detail

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