Results 1 to 4 of 4
- 04-15-2012, 09:23 AM #1
keep open the file written by the filewriter at execution
Hi,
I've written the text-file using FileWriter and BufferedWriter
It runs well, and the file is stored in the eclipse project directory
(the text file is editable through a notepad/wordpad)
I need to keep it opened after the program has run. Is it possible?
regards
dhilip
- 04-15-2012, 11:47 AM #2
Senior Member
- Join Date
- Oct 2011
- Posts
- 106
- Rep Power
- 0
Re: keep open the file written by the filewriter at execution
Why? You always want to close it after you are done writing. leaving it open can give you unexpected results!
- 04-15-2012, 01:13 PM #3
AN21XX
- Join Date
- Mar 2012
- Location
- Munich
- Posts
- 297
- Rep Power
- 2
Re: keep open the file written by the filewriter at execution
I agree: maybe you should state what you want to do, you might have the wrong approach. ;)
And there is no way I know to do so...
- 04-15-2012, 01:38 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,407
- Blog Entries
- 7
- Rep Power
- 17
Re: keep open the file written by the filewriter at execution
When people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
First Element of Array being written to file twice Help
By kingkongjaffa in forum New To JavaReplies: 1Last Post: 08-16-2011, 12:10 AM -
FileWriter editing hosts file Mac
By danborgir in forum New To JavaReplies: 2Last Post: 01-12-2011, 11:23 AM -
write to file with filereader/filewriter
By LennyKosmos in forum New To JavaReplies: 3Last Post: 10-27-2010, 08:12 PM -
Sequential Access Problem - Nothing is being written to file.
By shelzmike in forum New To JavaReplies: 4Last Post: 12-03-2008, 11:07 PM -
Text file over written
By bugger in forum New To JavaReplies: 2Last Post: 11-11-2007, 07:32 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks