com.github.sourcegroove.batch.item.file.fixed.FixedWidthFileItemReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-batch-file-layout Show documentation
Show all versions of spring-batch-file-layout Show documentation
Layout driven spring batch item readers and writers
package com.github.sourcegroove.batch.item.file.fixed;
import com.github.sourcegroove.batch.item.file.LayoutItemReader;
import org.springframework.batch.item.file.FlatFileItemReader;
import org.springframework.batch.item.file.LineMapper;
public class FixedWidthFileItemReader extends FlatFileItemReader implements LayoutItemReader {
LineMapper lineMapper;
public void setLineMapper(LineMapper lineMapper) {
this.lineMapper = lineMapper;
super.setLineMapper(lineMapper);
}
public LineMapper getLineMapper(){
return this.lineMapper;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy