Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

file read  RSS feed

 
arjun rampal
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have a java file which is reading data from a file.
Now it has several data lines for region ret,met,pet
like
ret|0| 2006-09-25|
ret|0| 2006-09-24|
ret|0| 2006-09-23|

but it is reading only one data each region ,leaving other data for same reagion on different date any idea?




 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm. Since this has to do with reading a file, let's move this to "I/O and Streams". While you're waiting for someone to answer, you might want to read some of this, especially "TellTheDetails" and "IsolateTheProblem."
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!