Use the method Helloworld suggested...mark the bufferedreader when you open the file, read it, then call reset on the reader...have a look at these methods in the api of BufferedReader to learn...
Type: Posts; User: copeg
Use the method Helloworld suggested...mark the bufferedreader when you open the file, read it, then call reset on the reader...have a look at these methods in the api of BufferedReader to learn...
Not sure why you wish to create the new method, all you really need to do is check if the readLine() method returns null.
String line;
while ( ( line = br.readLine() ) != null ){
//line...