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

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

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

  Methods in org.springframework.batch.item.file.builder that return FlatFileItemReaderBuilder
  Modifier and Type
  Method
  Description
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`addComment(String comment)`
  Add a string to the list of Strings that indicate commented lines.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`beanFactory(org.springframework.beans.factory.BeanFactory beanFactory)`
  Configures the `BeanFactory` used to create the beans that are returned as items.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`beanMapperStrict(boolean beanMapperStrict)`
  If set to true, mapping will fail if the `FieldSet` contains fields that cannot be mapped to the bean.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`bufferedReaderFactory(BufferedReaderFactory factory)`
  Configure a custom `BufferedReaderFactory` for the reader.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`comments(String... comments)`
  Set an array of Strings that indicate lines that are comments (and therefore skipped by the reader).
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`currentItemCount(int currentItemCount)`
  Index for the current item.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`customEditors(Map<Class<?>,PropertyEditor> customEditors)`
  Register custom type converters for beans being mapped.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`distanceLimit(int distanceLimit)`
  Configures the maximum tolerance between the actual spelling of a field's name and the property's name.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`encoding(String encoding)`
  Configure the encoding used by the reader to read the input source.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`fieldSetMapper(FieldSetMapper<T> mapper)`
  A `FieldSetMapper` implementation to be used.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`lineMapper(LineMapper<T> lineMapper)`
  A `LineMapper` implementation to be used.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`linesToSkip(int linesToSkip)`
  The number of lines to skip at the beginning of reading the file.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`lineTokenizer(LineTokenizer tokenizer)`
  A `LineTokenizer` implementation to be used.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`maxItemCount(int maxItemCount)`
  Configure the max number of items to be read.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.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.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.FixedLengthBuilder.`names(String... names)`
  The names of the fields to be parsed from the file.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`prototypeBeanName(String prototypeBeanName)`
  Configures the id of a prototype scoped bean to be used as the item returned by the reader.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`recordSeparatorPolicy(RecordSeparatorPolicy policy)`
  Configure a custom `RecordSeparatorPolicy` for the reader.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`resource(org.springframework.core.io.Resource resource)`
  The `Resource` to be used as input.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`skippedLinesCallback(LineCallbackHandler callback)`
  A callback to be called for each line that is skipped.
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`strict(boolean strict)`
  Configure if the reader should be in strict mode (require the input `Resource` to exist).
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`targetType(Class<? extends T> targetType)`
  The class that will represent the "item" to be returned from the reader.
  Constructors in org.springframework.batch.item.file.builder with parameters of type FlatFileItemReaderBuilder
  Modifier
  Constructor
  Description
  `protected`
  `DelimitedBuilder(FlatFileItemReaderBuilder<T> parent)`
  `protected`
  `FixedLengthBuilder(FlatFileItemReaderBuilder<T> parent)`