-
Overwrite an existing file in java....
Hi !!!
I want to overwrite an existing file with the new version of the same file name.
Right now what i am doing is like below:
boolean success = file.renameTo(new File(destxmldir, file.getName()));
But it does not overwrite if the same file exists before....
I just want to overwrite it by default whether the file changed or not...
Please help me...
Thanks in advance.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules