public class DpnManifestReader extends StepExecutionSupport implements org.springframework.batch.item.ItemReader<ManifestEntry>
ERRORS_KEY, ITEMS_READ_KEY| Constructor and Description |
|---|
DpnManifestReader(File manifestFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeStep(org.springframework.batch.core.StepExecution stepExecution) |
ManifestEntry |
read() |
addError, addToItemsRead, addToLong, afterStep, clearErrors, failExecution, getErrors, getExecutionContext, getItemsRead, getLongValue, getStepExecution, resetContextState, setIsTest, skipLinesAlreadyRead, verifySpacepublic DpnManifestReader(File manifestFile)
manifestFile - an md5 manifest file.public ManifestEntry read() throws Exception, org.springframework.batch.item.UnexpectedInputException, org.springframework.batch.item.ParseException, org.springframework.batch.item.NonTransientResourceException
read in interface org.springframework.batch.item.ItemReader<ManifestEntry>Exceptionorg.springframework.batch.item.UnexpectedInputExceptionorg.springframework.batch.item.ParseExceptionorg.springframework.batch.item.NonTransientResourceExceptionpublic void beforeStep(org.springframework.batch.core.StepExecution stepExecution)
beforeStep in interface org.springframework.batch.core.StepExecutionListenerbeforeStep in class StepExecutionSupportCopyright © 2014–2018 DuraSpace. All rights reserved.