Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

reading a .dat file

807606Apr 12 2007 — edited Apr 15 2007
hey,

i have several dat files i want to read in. the files all contain different kind of types like int, double, strings ... it looks kind of like that:
   1     0.00     1.22    2    3.33    test1
   2     8.00     2.00    3    4.00    test2
   .     ...     ...     .     ...     ...
so its like a matrix. i know how to read a file and everything. i was just wondering if anybody has a good idea to read the lines in and store it in a matrix or something. or what would be the best way to read it in and store it?!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2007
Added on Apr 12 2007
2 comments
482 views