• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RandomAccessFile()

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok fellas, come a long way and i have learned a ton. The two files that I am putting together one after another in the new file is working but...the second file contains several lines at the begining that are contained at the end of the first file so i have duplicate records in the middle of the new file!! Im thinking of using the RandomAccesFile() but how would I implement this with the code I have already written, must it only deal with DataOutputStreams? I will try to visually show you what the two files look like before the program is run on them below then my code.

thanks for you guys help JM
(edited by Cindy to format code)

[This message has been edited by Cindy Glass (edited June 07, 2001).]
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Jake,
The UBB ate your file examples. I didn't touch them. I will talk to the other moderators to see what might have happened.
In the meantime, could you edit the above message and put the input file examples back.
(This it WAY weird)
 
reply
    Bookmark Topic Watch Topic
  • New Topic