Uses of Class
org.springframework.batch.item.file.builder.MultiResourceItemReaderBuilder
Package
Description
Builders for file item readers and writers.
-
Uses of MultiResourceItemReaderBuilder in org.springframework.batch.item.file.builder
Modifier and TypeMethodDescriptionMultiResourceItemReaderBuilder.comparator
(Comparator<org.springframework.core.io.Resource> comparator) Used to order the injected resources, by default comparesResource.getFilename()
values.MultiResourceItemReaderBuilder.delegate
(ResourceAwareItemReaderItemStream<? extends T> delegate) Establishes the delegate to use for reading the resources provided.The name used to calculate the key within theExecutionContext
.MultiResourceItemReaderBuilder.resources
(org.springframework.core.io.Resource... resources) The array of resources that theMultiResourceItemReader
will use to retrieve items.MultiResourceItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.MultiResourceItemReaderBuilder.setStrict
(boolean strict) In strict mode the reader will throw an exception onMultiResourceItemReader.open(org.springframework.batch.item.ExecutionContext)
if there are no resources to read.