public class SlicedTextDataLoader extends AbstractTextDataLoader
args, dataFile, engine| Constructor and Description |
|---|
SlicedTextDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
parseExtraArguments(java.util.List args)
Parses the argument list, except the 1st (file name) argument.
|
protected java.lang.Object |
parseText(java.lang.String text)
Parses the file content to the final object that the data loader
will return.
|
protected java.util.List |
postProcessItems(java.util.List items)
Override this if you want to post-process the items.
|
loadloadprotected final java.lang.Object parseText(java.lang.String text)
throws java.lang.Exception
AbstractTextDataLoaderparseText in class AbstractTextDataLoadertext - the content of the text filejava.lang.Exceptionprotected java.util.List postProcessItems(java.util.List items)
items - the list of String-s that the standard
slicedText data loader would return.protected final java.lang.String parseExtraArguments(java.util.List args)
throws java.lang.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).java.lang.Exception