public class SlicedTextDataLoader extends AbstractTextDataLoader
args, dataFile, engine| Constructor and Description |
|---|
SlicedTextDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
parseExtraArguments(List args)
Parses the argument list, except the 1st (file name) argument.
|
protected Object |
parseText(String text)
Parses the file content to the final object that the data loader
will return.
|
protected List |
postProcessItems(List items)
Override this if you want to post-process the items.
|
loadloadprotected final Object parseText(String text) throws Exception
AbstractTextDataLoaderparseText in class AbstractTextDataLoadertext - the content of the text fileExceptionprotected List postProcessItems(List items)
items - the list of String-s that the standard
slicedText data loader would return.protected final String parseExtraArguments(List args) throws Exception
AbstractTextDataLoaderparseExtraArguments in class AbstractTextDataLoaderargs - the arguments (all of them, starting from the 1st)null if the encoding was not specified. In the latest
case the encoding will default to the source encoding engine
parameter (the sourceEncoding setting).Exception