Package fmpp.dataloaders
Class TextDataLoader
- java.lang.Object
-
- fmpp.dataloaders.FileDataLoader
-
- 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
AbstractTextDataLoadersubclass, but it is not that for backward compatibility.
-
-
Field Summary
-
Fields inherited from class fmpp.dataloaders.FileDataLoader
args, dataFile, engine
-
-
Constructor Summary
Constructors Constructor Description TextDataLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objectload(java.io.InputStream data)FileDataLoadersubclasess override this method to parse the file.-
Methods inherited from class fmpp.dataloaders.FileDataLoader
load
-
-
-
-
Method Detail
-
load
protected java.lang.Object load(java.io.InputStream data) throws java.lang.ExceptionDescription copied from class:FileDataLoaderFileDataLoadersubclasess override this method to parse the file.- Specified by:
loadin classFileDataLoader- Throws:
java.lang.Exception
-
-