Skip to Main Content

New to Java

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!

Open text file, skip first (header record) line,go to next line and read in

843785Sep 2 2008 — edited Sep 4 2008
I have a program written and successfully compiled to read a text file, and grab certain data off records in the file, then write that data out to a new file, now there is one problem, when I try to run it and have show me the data that its grabbing. I am doing a check in a certain field, as a key, so to speak, to get certain data of the records. But there is a header file at the top of each file that I will open, i am trying to figure out how to skip that first record, which is the header record, and just start reading from the very next record.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2008
Added on Sep 2 2008
4 comments
2,555 views