public interface IWrapperProcessor
Modifier and Type | Method and Description |
---|---|
List<String> |
onNeedOutputData()
This event will be fired when you call Wrapper.save().
|
void |
onProcessBeforeStart(LineData headerData)
this event will be fired just before the CSV starting to process.
|
void |
onProcessFinish()
This event will be fired when all CSV file was read and processed.
|
void |
processLine(LineData lineData,
WrapperHelper helper)
This method will be called for each line found in the CSV input file.
|
void processLine(LineData lineData, WrapperHelper helper) throws Exception
helper
- WrapperHelper
:
Contains some methods to help you on copy files, reading text files
from library folder and so on.lineData
- LineData
:
Contains a list of DataItem
( a CSV line ) witch holds a data item
of the line ( column name, the data for that column at that line and the column index).Exception
void onProcessFinish()
void onProcessBeforeStart(LineData headerData)
headerData
- Contains the header of the CSV file.Copyright © 2015 Carlos Magno Oliveira de Abreu. All rights reserved.