-
Mar 5th, 2012, 07:15 AM
#1
Stream close without final flush
Hi,
Did you meet the situation, where closing some stream it ommitted the final flush?
I implement some CSV helper as Spring Bean, based on OpenCSV lib regarding this the IoC call then method-destroy which encapsulates close method.
If I process 1-40 rows, don't notice anything wrong, but since 60-70 observe some strange, I loose a few latest rows.
Only when I use flush method explicity, then whole apropriate rows can find in file.
Does anyone see the same thing?
Regards
KM
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