# Uses of Class
org.springframework.batch.item.file.builder.FlatFileItemWriterBuilder

Packages that use FlatFileItemWriterBuilder
Package
Description
org.springframework.batch.item.file.builder
Builders for file item readers and writers.

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

  Methods in org.springframework.batch.item.file.builder that return FlatFileItemWriterBuilder
  Modifier and Type
  Method
  Description
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`append(boolean append)`
  If set to true and the file exists, the output will be appended to the existing file.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`encoding(String encoding)`
  Encoding used for output.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.DelimitedBuilder.`fieldExtractor(FieldExtractor<T> fieldExtractor)`
  Set the `FieldExtractor` to use to extract fields from each item.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.FormattedBuilder.`fieldExtractor(FieldExtractor<T> fieldExtractor)`
  Set the `FieldExtractor` to use to extract fields from each item.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`footerCallback(FlatFileFooterCallback callback)`
  A callback for footer processing
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`forceSync(boolean forceSync)`
  A flag indicating that changes should be force-synced to disk on flush.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`headerCallback(FlatFileHeaderCallback callback)`
  A callback for header processing.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`lineAggregator(LineAggregator<T> lineAggregator)`
  Line aggregator used to build the String version of each item.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`lineSeparator(String lineSeparator)`
  String used to separate lines in output.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.DelimitedBuilder.`names(String... names)`
  Names of each of the fields within the fields that are returned in the order they occur within the delimited file.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.FormattedBuilder.`names(String... names)`
  Names of each of the fields within the fields that are returned in the order they occur within the formatted file.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`resource(org.springframework.core.io.Resource resource)`
  The `Resource` to be used as output.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`shouldDeleteIfEmpty(boolean shouldDelete)`
  If set to true, once the step is complete, if the resource previously provided is empty, it will be deleted.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`shouldDeleteIfExists(boolean shouldDelete)`
  If set to true, upon the start of the step, if the resource already exists, it will be deleted and recreated.
  `FlatFileItemWriterBuilder<T>`
  FlatFileItemWriterBuilder.`transactional(boolean transactional)`
  If set to true, the flushing of the buffer is delayed while a transaction is active.
  Constructors in org.springframework.batch.item.file.builder with parameters of type FlatFileItemWriterBuilder
  Modifier
  Constructor
  Description
  `protected`
  `DelimitedBuilder(FlatFileItemWriterBuilder<T> parent)`
  `protected`
  `FormattedBuilder(FlatFileItemWriterBuilder<T> parent)`