• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read file line by line

 
mic ta
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Is it possible to read files line by line without using != null maybe with a for loop?

Best regards,
 
Rob Spoor
Sheriff
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to check for != null at some time. How else would you find out if you've read the entire file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic