How to go back to the first line of a file without re-instantiating Bufferedreader?
<pre><code>        for(String column: columnHeaders){

            loadFile(); // Here BufferedReader gets instantiated

            String header =getLineReader().readLine();

            if(header!=null)
            {
                while (( line=getLineReader().readLine())!=null )
                {
                    cellValue =StatUtils.getCellValue(line,getColumnNumberByName(column));

                    csvColumn.addRowElement(cellValue,null);                        
                }                   

            }   

            closeStreams(); // closing the Reader
        }
</code></pre>

<p>For every column I need to read the csv-file from the 1st to last.
The text file can be very big(100 columns and 5000000 rows).</p>

<p>Now, createing a BufferedReader instance for each column - 
1) Is it going to hamper the performance?
2) Is there any way to create Reader once and whenever it reaches to the last line, in next iteration, it will start from the beginning....</p>

<p>As I said, the file could be very big, so, I don't want to cache it into memory.</p>

<p>Any suggestion/comments?</p>

<p>thanks in advance.</p>
