Results 1 to 3 of 3
Thread: Reading data from a text file
- 02-01-2010, 02:16 PM #1
Member
- Join Date
- Feb 2010
- Posts
- 2
- Rep Power
- 0
Reading data from a text file
Hi everyone..am a newbie to java.I am stuck with a program where I'm trying to read the content of a text file into arrays of different data types.I am using I/O streams to read each line the text file and then using the "StringTokenizer" command and then parsing the string into different data types.Is this a good way to read. Also I like to know any other better methods...please help:)
Last edited by Cheguvara; 02-01-2010 at 02:23 PM.
- 02-01-2010, 11:35 PM #2
It would be beneficial to you if you posted the code. Please make sure you put them in [code] brackets.
"Experience is what you get when you don't get what you want" (Dan Stanford)
"Rise and rise again until lambs become lions" (Robin Hood)
- 02-02-2010, 03:33 PM #3
Member
- Join Date
- Feb 2010
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Reading a text file
By diegosened in forum New To JavaReplies: 4Last Post: 01-16-2010, 12:32 AM -
reading data from text file .. help plz
By Thug heart in forum New To JavaReplies: 7Last Post: 02-15-2009, 08:29 PM -
Reading two text file and sum them up
By matt_well in forum New To JavaReplies: 36Last Post: 07-22-2008, 03:55 AM -
Reading text file
By Lennon-Guru in forum New To JavaReplies: 1Last Post: 12-16-2007, 12:38 AM -
Reading Data from a file
By ramachandran in forum New To JavaReplies: 2Last Post: 10-24-2007, 08:22 AM
Bookmarks