[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/io/flat FixedWidthFlatFileReader.java, 1.1
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-06-07 22:27:28
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/io/flat In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16424 Modified Files: FixedWidthFlatFileReader.java Log Message: no message Index: FixedWidthFlatFileReader.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/io/flat/FixedWidthFlatFileReader.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FixedWidthFlatFileReader.java 3 Jun 2006 13:14:41 -0000 1.1 --- FixedWidthFlatFileReader.java 5 Jun 2006 03:12:57 -0000 1.2 *************** *** 89,92 **** --- 89,111 ---- } + public void close() + { + if(this.reader!=null) + { + try + { + this.reader.close(); + } + catch(IOException exception) + { + logger.debug("IO Exception while closing the reader. Message = " + exception.getMessage(),exception); + } + finally + { + this.reader=null; + } + } + } + private ReaderRecord parseRecord(String recordString) { |