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 Object |
load(InputStream data)
FileDataLoader subclasess override this method to parse
the file. |
loadprotected Object load(InputStream data) throws IOException, TemplateModelException, StringUtil.ParseException
FileDataLoaderFileDataLoader subclasess override this method to parse
the file.load in class FileDataLoaderIOExceptionTemplateModelExceptionStringUtil.ParseException