public interface SplitProcessor
Modifier and Type | Method and Description |
---|---|
void |
close()
Close.
|
void |
configureSplit(Properties properties,
String toFilename)
Configure split.
|
String |
getAction()
Gets the action.
|
IoStatus |
split(IoProcessor source,
IoProcessor destination,
String fromFolder,
String toFolder,
String filename)
Split the input stream into multiple files.
|
boolean |
supportsParallel()
Supports parallel.
|
void configureSplit(Properties properties, String toFilename) throws IllegalArgumentException
properties
- the propertiestoFilename
- the to filenameIllegalArgumentException
- the illegal argument exceptionIoStatus split(IoProcessor source, IoProcessor destination, String fromFolder, String toFolder, String filename) throws Exception
source
- IoProcessor, the source IoProcessordestination
- IoProcessor, the destination IoProcessorfromFolder
- the from foldertoFolder
- the to folderfilename
- the filenameException
- in case of any errorvoid close() throws Exception
Exception
String getAction()
boolean supportsParallel()
Copyright © 2010-2020 Toolsverse. All Rights Reserved.