public class TextSplitProcessor extends BaseSplitProcessor
SplitProcessor for CSV files. This class is not
thread safe.| Constructor and Description |
|---|
TextSplitProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureSplit(Properties properties,
String toFilename)
Configure split.
|
IoStatus |
split(IoProcessor source,
IoProcessor destination,
String fromFolder,
String toFolder,
String filename)
Split the input stream into multiple files.
|
close, getAction, getMaxNumberOfRows, supportsParallelpublic void configureSplit(Properties properties,
String toFilename)
throws IllegalArgumentException
SplitProcessorconfigureSplit in interface SplitProcessorconfigureSplit in class BaseSplitProcessorproperties - the propertiestoFilename - the to filenameIllegalArgumentException - the illegal argument exceptionpublic IoStatus split(IoProcessor source, IoProcessor destination, String fromFolder, String toFolder, String filename) throws Exception
SplitProcessorsource - IoProcessor, the source IoProcessordestination - IoProcessor, the destination IoProcessorfromFolder - the from foldertoFolder - the to folderfilename - the filenameException - in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.