Java #11 - Writing a Text File
Loading...
11,301
Loading...
There is no Interactive Transcript.
Uploader Comments (carlislemc)
see all
All Comments (7)
-
@carlislemc Nevermind, i got it fixed, was such a stupid question too :P
-
@Djentard I am sorry, but I do not understand your question.
-
Thanks for your tutorials.
I do however have a question and maybe this WriteSimpleFile could be expanded;
1) It does not get same directory as the .java file
2) Type a name for file, however no extension is added if I don't type full filename
3) Add multiple file Filters, ie. Java or TXT being shown, if so then save with that extension
Just a couple ideas as I'm new to Java, thanks again
-
Thanks for the source code to this example. Just what I was looking for.
Loading...
is there a way to delete a 'string' from a text file?
SSproductionns 2 years ago
Not directly. You'd need to read in the file and then write it out again without the String you are trying to delete.
carlislemc 2 years ago