tml.storage.importers
Class TextImporter

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

public class TextImporter
extends AbstractImporter
implements Importer

TextImporter implements the simples importer of plain text, therefore it just returns the content as it is.

Author:
Jorge Villalon

Constructor Summary
TextImporter()
           
 
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

TextImporter

public TextImporter()
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