FlatFileItemReader class use three interface see the below pitcture
the RecordSeparatorPolicy interface is used to indentify the data from lines; while LineMapper is resposible for extracting data from lines; and LineCallbackHandler interface handle the
data lines in a special case;
in the LineMapper interface , DefaultLineMapper is the most used and default class to implements the LineMapper interface;
and the DefaultLineMapper holds LineTokenizer interface is to split the data lines into the tokens. and FileSetMapper is to create the data objects from the tokens.