How do I write to a file in eclipse?
Posted
by fastcodejava
on Stack Overflow
See other posts from Stack Overflow
or by fastcodejava
Published on 2010-04-15T03:13:50Z
Indexed on
2010/04/15
3:23 UTC
Read the original article
Hit count: 258
If I have handle to file how do I create a document and write to it? Right now, I am having to delete the file completely and recreate with new content as shown below :
IFile file = getFile();
file.delete();
file.create(input, false, null);
© Stack Overflow or respective owner