Home / CSE MCQs / Spring MCQs :: Discussion

Discussion :: Spring MCQs

  1. Class which delegates the task of delimiting fields and records within a file to a LineMapper, which in turn delegates the task of identifying the fields within that record, to LineTokenizer.
  2. A.
    org.springframework.batch.item.file.Flat

    FileItemReader
    B.
    org.springframework.batch.item.file.FlatFile
    C.
    org.springframework.batch.item.file.FlatFileItem
    D.
    org.springframework.batch.item.file.File

    ItemReader

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The FlatFileItemReader also declares a fieldSetMapper attribute that requires an implementation of FieldSetMapper.


Be The First To Comment