hi, i need some advice/tips.
suppose i need to modify the contents of a file. usually i will read line by line, do the modifications then write to another file.
is it possible if i want the modifications to be done on the SAME file directly, ie input file = output file?
i looked at bufferedwriter, printwriter, filewriter, but no hints of how that can be done..
suppose i need to modify the contents of a file. usually i will read line by line, do the modifications then write to another file.
is it possible if i want the modifications to be done on the SAME file directly, ie input file = output file?
i looked at bufferedwriter, printwriter, filewriter, but no hints of how that can be done..