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

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

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

  Methods in org.springframework.batch.item.file.builder that return MultiResourceItemReaderBuilder
  Modifier and Type
  Method
  Description
  `MultiResourceItemReaderBuilder<T>`
  MultiResourceItemReaderBuilder.`comparator(Comparator<org.springframework.core.io.Resource> comparator)`
  Used to order the injected resources, by default compares `Resource.getFilename()` values.
  `MultiResourceItemReaderBuilder<T>`
  MultiResourceItemReaderBuilder.`delegate(ResourceAwareItemReaderItemStream<? extends T> delegate)`
  Establishes the delegate to use for reading the resources provided.
  `MultiResourceItemReaderBuilder<T>`
  MultiResourceItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `MultiResourceItemReaderBuilder<T>`
  MultiResourceItemReaderBuilder.`resources(org.springframework.core.io.Resource... resources)`
  The array of resources that the `MultiResourceItemReader` will use to retrieve items.
  `MultiResourceItemReaderBuilder<T>`
  MultiResourceItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `MultiResourceItemReaderBuilder<T>`
  MultiResourceItemReaderBuilder.`setStrict(boolean strict)`
  In strict mode the reader will throw an exception on `MultiResourceItemReader.open(org.springframework.batch.item.ExecutionContext)` if there are no resources to read.