tml.storage.importers
Class HtmlImporter

java.lang.Object
  extended by tml.storage.importers.AbstractImporter
      extended by tml.storage.importers.HtmlImporter
All Implemented Interfaces:
Importer

public class HtmlImporter
extends AbstractImporter
implements Importer

This importer uses org.htmlpraser to obtain plain text from an HTML file.

Author:
Jorge Villalon

Constructor Summary
HtmlImporter()
           
 
Method Summary
 java.lang.String getCleanContent(java.lang.String content)
           
 
Methods inherited from class tml.storage.importers.AbstractImporter
createImporter, isValidFileExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tml.storage.importers.Importer
isValidFileExtension
 

Constructor Detail

HtmlImporter

public HtmlImporter()
Method Detail

getCleanContent

public java.lang.String getCleanContent(java.lang.String content)
Specified by:
getCleanContent in interface Importer
Parameters:
content - the text to clean
Returns:
the plain text version of the content