I\'ll try to be as clear as possible but pardon me if my question is not perfect. I have a txt file with several lines of data. example:
123 ralph bose 20000 200 1 2
There are lots of ways to read an entire line at a time; Scanner is probably easiest:
final Scanner s = new Scanner(yourFile); while(s.hasNextLine()) { final String line = s.nextLine(); YourClass.processLine(line); }