SCJP<br />SCJD
"I'm not back." - Bill Harding, Twister
SCJP,SCJD,SCWCD,SCBCD,SCDJWS,SCEA
SCJP,SCJD,SCWCD,SCBCD,SCDJWS,SCEA
Ok, let me get this straight before I create the method. For writting,
not reading to the file, i do have to keep track of offset lengths and
take into account the valid (or deleted) record indicator, and then
use seek to position myself in the file to perform the write. Is this
correct?
I am assuming that for each delete/update/insert I only want to be working
with one record so obviously I do not want to write the entire file again.
Just the record at hand?
SCJP,SCJD,SCWCD,SCBCD,SCDJWS,SCEA
SCJP<br />SCJD
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
How do I determine this other than
hardcoding the length of the headers and data fields(32,64,64,6,8,8)
in my seek.
SCJD, SCBCD, SCJP
Anton Golovin (anton.golovin@gmail.com) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
Don't get me started about those stupid light bulbs. |