Java org.springframework.batch.item.file FlatFileItemReader fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.item.file FlatFileItemReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.item.file FlatFileItemReader.

The text is from its open source code.

Subclass

org.springframework.batch.item.file.FlatFileItemReader has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidafterPropertiesSet()
voidclose()
If any resources are needed for the stream to operate they need to be destroyed here.
voidopen(ExecutionContext executionContext)
Open the stream for the provided ExecutionContext .
Tread()
Reads a piece of input data and advance to the next one.
voidsetComments(String[] comments)
Setter for comment prefixes.
voidsetLineMapper(LineMapper lineMapper)
Setter for line mapper.
voidsetLinesToSkip(int linesToSkip)
Public setter for the number of lines to skip at the start of a file.
voidsetRecordSeparatorPolicy(RecordSeparatorPolicy recordSeparatorPolicy)
Public setter for the recordSeparatorPolicy.
voidsetResource(Resource resource)
Public setter for the input resource.
voidsetSkippedLinesCallback(LineCallbackHandler skippedLinesCallback)
voidsetStrict(boolean strict)
In strict mode the reader will throw an exception on #open(org.springframework.batch.item.ExecutionContext) if the input resource does not exist.