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

Packages that use FlatFileHeaderCallback
Package
Description
org.springframework.batch.item.file.builder
Builders for file item readers and writers.
org.springframework.batch.item.json.builder
Builders for JSON item reader and writer.
org.springframework.batch.item.support
Internal support package

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

  Methods in org.springframework.batch.item.file.builder with parameters of type FlatFileHeaderCallback
  Modifier and Type
  Method
  Description
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`headerCallback(FlatFileHeaderCallback callback)`
  A callback for header processing.

- ## Uses of FlatFileHeaderCallback in org.springframework.batch.item.json.builder

  Methods in org.springframework.batch.item.json.builder with parameters of type FlatFileHeaderCallback
  Modifier and Type
  Method
  Description
  `JsonFileItemWriterBuilder<T>`
  JsonFileItemWriterBuilder.`headerCallback(FlatFileHeaderCallback callback)`
  A callback for header processing.

- ## Uses of FlatFileHeaderCallback in org.springframework.batch.item.support

  Methods in org.springframework.batch.item.support with parameters of type FlatFileHeaderCallback
  Modifier and Type
  Method
  Description
  `void`
  AbstractFileItemWriter.`setHeaderCallback(FlatFileHeaderCallback headerCallback)`
  headerCallback will be called before writing the first item to file.