Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > are there lseek...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 16005 of 16069
Post > Topic >>

are there lseek/seek, tell, etc. in Java?

by RC <raymond.chui@[EMAIL PROTECTED] > Apr 22, 2008 at 08:13 AM

When I open a file by

BufferedWriter bw =
new BufferedWriter(new FileWriter(new File("myfile")));

Where myfile is existed, I don't want to over write the
file from top, I want to do some lseek/seek (like C) first,
then it "tell (like C)" the position. Then I write in somewhere
in myfile

I only found append, and write methods in java.io.Writer class

Thank you very much in advance!




 4 Posts in Topic:
are there lseek/seek, tell, etc. in Java?
RC <raymond.chui@[EMAI  2008-04-22 08:13:36 
Re: are there lseek/seek, tell, etc. in Java?
Gordon Beaton <n.o.t@[  2008-04-22 11:54:40 
Re: are there lseek/seek, tell, etc. in Java?
Roedy Green <see_websi  2008-04-22 12:24:17 
Re: are there lseek/seek, tell, etc. in Java?
RC <raymond.chui@[EMAI  2008-04-22 08:47:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun May 11 19:17:45 CDT 2008.