# Uses of Interface
org.springframework.batch.item.file.LineMapper

Packages that use LineMapper
Package
Description
org.springframework.batch.item.file
Infrastructure implementations of io file concerns.
org.springframework.batch.item.file.builder
Builders for file item readers and writers.
org.springframework.batch.item.file.mapping
Infrastructure implementations of io file support mapping concerns.

- ## Uses of LineMapper in org.springframework.batch.item.file

  Methods in org.springframework.batch.item.file with parameters of type LineMapper
  Modifier and Type
  Method
  Description
  `void`
  FlatFileItemReader.`setLineMapper(LineMapper<T> lineMapper)`
  Setter for line mapper.

- ## Uses of LineMapper in org.springframework.batch.item.file.builder

  Methods in org.springframework.batch.item.file.builder with parameters of type LineMapper
  Modifier and Type
  Method
  Description
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`lineMapper(LineMapper<T> lineMapper)`
  A `LineMapper` implementation to be used.

- ## Uses of LineMapper in org.springframework.batch.item.file.mapping

  Classes in org.springframework.batch.item.file.mapping that implement LineMapper
  Modifier and Type
  Class
  Description
  `class`
  `DefaultLineMapper<T>`
  Two-phase `LineMapper` implementation consisting of tokenization of the line into `FieldSet` followed by mapping to item.
  `class`
  `JsonLineMapper`
  Interpret a line as a JSON object and parse it up to a Map.
  `class`
  `PassThroughLineMapper`
  Pass through `LineMapper` useful for passing the original `String` back directly rather than a mapped object.
  `class`
  `PatternMatchingCompositeLineMapper<T>`
  A `LineMapper` implementation that stores a mapping of String patterns to delegate `LineTokenizer`s as well as a mapping of String patterns to delegate `FieldSetMapper`s.