aspose file tools*
The moose likes I/O and Streams and the fly likes reading a file column wise Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "reading a file column wise" Watch "reading a file column wise" New topic
Author

reading a file column wise

santosh kimothi
Ranch Hand

Joined: Jun 10, 2009
Posts: 32
i want to read a text file which is having three columns,
is there any way to read this file column wise and save each column values in three separate arrays

please help me ...


Santosh Kimothi,
Java programmer
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8971
    
    9

Are the columns fixed-width? If so, you could use a RandomAccessFile.

[How To Ask Questions On JavaRanch]
 
 
subject: reading a file column wise