Example usage for Java org.springframework.batch.item.file FlatFileItemReader fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() |
void | close() If any resources are needed for the stream to operate they need to be destroyed here. |
void | open(ExecutionContext executionContext) Open the stream for the provided ExecutionContext . |
T | read() Reads a piece of input data and advance to the next one. |
void | setComments(String[] comments) Setter for comment prefixes. |
void | setLineMapper(LineMapper Setter for line mapper. |
void | setLinesToSkip(int linesToSkip) Public setter for the number of lines to skip at the start of a file. |
void | setRecordSeparatorPolicy(RecordSeparatorPolicy recordSeparatorPolicy) Public setter for the recordSeparatorPolicy. |
void | setResource(Resource resource) Public setter for the input resource. |
void | setSkippedLinesCallback(LineCallbackHandler skippedLinesCallback) |
void | setStrict(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. |