read
public java.util.List<java.io.File> read()
throws java.lang.Exception,
org.springframework.batch.item.UnexpectedInputException,
org.springframework.batch.item.ParseException,
org.springframework.batch.item.NonTransientResourceException
get all xml files in the input directory
- Specified by:
read
in interface org.springframework.batch.item.ItemReader<java.util.List<java.io.File>>
- Returns:
- files, a list of files
- Throws:
java.lang.Exception
org.springframework.batch.item.UnexpectedInputException
org.springframework.batch.item.ParseException
org.springframework.batch.item.NonTransientResourceException