fmpp.dataloaders
Class TextDataLoader

java.lang.Object
  extended by fmpp.dataloaders.FileDataLoader
      extended by fmpp.dataloaders.TextDataLoader
All Implemented Interfaces:
DataLoader

public class TextDataLoader
extends FileDataLoader

Returns a string based on a plain text file.

Note: This class should be an AbstractTextDataLoader subclass, but it is not that for backward compatibility.


Field Summary
 
Fields inherited from class fmpp.dataloaders.FileDataLoader
args, dataFile, engine
 
Constructor Summary
TextDataLoader()
           
 
Method Summary
protected  java.lang.Object load(java.io.InputStream data)
          FileDataLoader subclasess override this method to parse the file.
 
Methods inherited from class fmpp.dataloaders.FileDataLoader
load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDataLoader

public TextDataLoader()
Method Detail

load

protected java.lang.Object load(java.io.InputStream data)
                         throws java.lang.Exception
Description copied from class: FileDataLoader
FileDataLoader subclasess override this method to parse the file.

Specified by:
load in class FileDataLoader
Throws:
java.lang.Exception