Skip to Main Content

Java Programming

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!

Writing to a specified location in a file

807580Aug 28 2009 — edited Jan 20 2010
Hi ,
How to write the contents to a file in a particular position ..
example :- in a file from 0-15chars need to write the emp id and from 16-28 job description and so on..

in the above example from 0-15 its the emp id so if the emp id is of only 2 chars then the remaining chars should be
zero padded ..

please help me out in doing the same ...

It would be very much great full .

Thanks in advance
Raghu
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2010
Added on Aug 28 2009
10 comments
200 views