T
- the type of the parent FlatFileItemWriterBuilder
public static class FlatFileItemWriterBuilder.DelimitedBuilder<T>
extends java.lang.Object
DelimitedLineAggregator
Modifier | Constructor and Description |
---|---|
protected |
DelimitedBuilder(FlatFileItemWriterBuilder<T> parent) |
Modifier and Type | Method and Description |
---|---|
DelimitedLineAggregator<T> |
build() |
FlatFileItemWriterBuilder.DelimitedBuilder<T> |
delimiter(java.lang.String delimiter)
Define the delimiter for the file.
|
FlatFileItemWriterBuilder<T> |
fieldExtractor(FieldExtractor<T> fieldExtractor)
Set the
FieldExtractor to use to extract fields from each item. |
FlatFileItemWriterBuilder<T> |
names(java.lang.String... names)
Names of each of the fields within the fields that are returned in the order
they occur within the delimited file.
|
protected DelimitedBuilder(FlatFileItemWriterBuilder<T> parent)
public FlatFileItemWriterBuilder.DelimitedBuilder<T> delimiter(java.lang.String delimiter)
delimiter
- String used as a delimiter between fields.DelimitedLineAggregator.setDelimiter(String)
public FlatFileItemWriterBuilder<T> names(java.lang.String... names)
BeanWrapperFieldExtractor
only if no explicit field extractor
is set via fieldExtractor(FieldExtractor)
.names
- names of each fieldFlatFileItemWriterBuilder
BeanWrapperFieldExtractor.setNames(String[])
public FlatFileItemWriterBuilder<T> fieldExtractor(FieldExtractor<T> fieldExtractor)
FieldExtractor
to use to extract fields from each item.fieldExtractor
- to use to extract fields from each itemFlatFileItemWriterBuilder
public DelimitedLineAggregator<T> build()