use of org.baeldung.taskletsvschunks.utils.FileUtils in project tutorials by eugenp.
the class LinesWriter method beforeStep.
@Override
public void beforeStep(StepExecution stepExecution) {
fu = new FileUtils("output.csv");
logger.debug("Line Writer initialized.");
}
use of org.baeldung.taskletsvschunks.utils.FileUtils in project tutorials by eugenp.
the class LineReader method beforeStep.
@Override
public void beforeStep(StepExecution stepExecution) {
fu = new FileUtils("taskletsvschunks/input/tasklets-vs-chunks.csv");
logger.debug("Line Reader initialized.");
}
use of org.baeldung.taskletsvschunks.utils.FileUtils in project tutorials by eugenp.
the class LinesReader method beforeStep.
@Override
public void beforeStep(StepExecution stepExecution) {
lines = new ArrayList<Line>();
fu = new FileUtils("taskletsvschunks/input/tasklets-vs-chunks.csv");
logger.debug("Lines Reader initialized.");
}
use of org.baeldung.taskletsvschunks.utils.FileUtils in project tutorials by eugenp.
the class LinesWriter method beforeStep.
@Override
public void beforeStep(StepExecution stepExecution) {
ExecutionContext executionContext = stepExecution.getJobExecution().getExecutionContext();
this.lines = (List<Line>) executionContext.get("lines");
fu = new FileUtils("output.csv");
logger.debug("Lines Writer initialized.");
}
Aggregations