A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
deleting text from a file
Joined: Apr 13, 2011
Apr 20, 2011 02:51:34
how to delete text from a file without creating a new file and then copying the data from the old file and then renaming the file
Joined: Mar 22, 2005
Apr 20, 2011 03:23:01
Even if it were possible, it's not a good idea. If the program were to terminate in the midst of updating the file you'd most likely be left with a corrupt file. What is the underlying issue you're trying to address?
Ping & DNS, my free Android app for network diagnostics
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: deleting text from a file
Binary Size of a text file
how to detect change of Text Size
read string from textfile into array
retreiving a text file from oracle database using frontend JSP
Internationalization and Font size
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013