public class CsvDataLoader extends FileDataLoader
fmpp.models.CsvSequence object.
The format of the directive is:
csv(filename, option),
where option is a hash of options, such as
{encoding:'ISO-8859-3', separator:','}.
For the complete list of options please see the parameters of
CsvSequence constructors.
Note: This class should be an
AbstractTextDataLoader subclass, but it is not that
for backward compatibility.
args, dataFile, engine| Constructor and Description |
|---|
CsvDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
load(java.io.InputStream data)
FileDataLoader subclasess override this method to parse
the file. |
loadprotected java.lang.Object load(java.io.InputStream data)
throws java.io.IOException,
freemarker.template.TemplateModelException,
StringUtil.ParseException
FileDataLoaderFileDataLoader subclasess override this method to parse
the file.load in class FileDataLoaderjava.io.IOExceptionfreemarker.template.TemplateModelExceptionStringUtil.ParseException