Class FileSystemReader

java.lang.Object
org.duracloud.snapshot.service.impl.StepExecutionSupport
org.duracloud.snapshot.service.impl.FileSystemReader
All Implemented Interfaces:
org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener, org.springframework.batch.item.ItemReader<File>

public class FileSystemReader extends StepExecutionSupport implements org.springframework.batch.item.ItemReader<File>
Author:
Daniel Bernstein Date: Jul 16, 2014
  • Constructor Details

    • FileSystemReader

      public FileSystemReader(File rootDirectory)
  • Method Details

    • read

      public File read() throws Exception, org.springframework.batch.item.UnexpectedInputException, org.springframework.batch.item.ParseException, org.springframework.batch.item.NonTransientResourceException
      Specified by:
      read in interface org.springframework.batch.item.ItemReader<File>
      Throws:
      Exception
      org.springframework.batch.item.UnexpectedInputException
      org.springframework.batch.item.ParseException
      org.springframework.batch.item.NonTransientResourceException