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, supportsParallel
public void configureSplit(Properties properties, String toFilename) throws IllegalArgumentException
SplitProcessor
configureSplit
in interface SplitProcessor
configureSplit
in class BaseSplitProcessor
properties
- the propertiestoFilename
- the to filenameIllegalArgumentException
- the illegal argument exceptionpublic IoStatus split(IoProcessor source, IoProcessor destination, String fromFolder, String toFolder, String filename) throws Exception
SplitProcessor
source
- 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.