-
Jul 31st, 2009, 05:45 AM
#1
Read continuously and predict errors
Hi,
I am using SpringBatch2.0 and my input file is a flat file.
I am using FlatFileItemReader to read the input text file.
Can we read continuously and stop when the line is of different type.
Example: using IO package i can read a file continuously and if i encounter any desired value i can perform my logic( putting a while loop to read).
and also if i encounter any unknown characters(special characters), i should be able to read other data and skip such erroneous data.
Thanks in advance.
Regards,
Ramesh Kasarla
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules