Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2401
| From | Stanimir Stamenkov <s7an10@netscape.net> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: FileOutputStream questions |
| Date | 2013-01-01 02:36 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <kbtb1q$lor$1@dont-email.me> (permalink) |
| References | <p4ejd893hi08mkpjabtfn6mcbemhmuceua@4ax.com> <2u5kd8hl9tvgi2vkjf6guedae5nqrmbi47@4ax.com> |
Tue, 25 Dec 2012 13:17:14 -0800, /Roedy Green/: > I discovered this > > fos.flush(); > fos.getFD().sync(); > > Which acts like close/reopen. You may also checkout the following thread from the Xerces-J Users mailing list: "Does LSSerailzer creates a thread of its own." <http://mail-archives.apache.org/mod_mbox/xerces-j-users/200708.mbox/browser> The following reply suggest a newer Java NIO API - FileChannel.force(true), for the same purpose: http://mail-archives.apache.org/mod_mbox/xerces-j-users/200708.mbox/%3C46D3FBFA.8060104%40netscape.net%3E http://docs.oracle.com/javase/6/docs/api/java/nio/channels/FileChannel.html#force%28boolean%29 And the following appears just the same as your finding: http://mail-archives.apache.org/mod_mbox/xerces-j-users/200708.mbox/%3C46D59744.2010505%40netscape.net%3E -- Stanimir
Back to comp.lang.java.help | Previous | Next — Previous in thread | Find similar | Unroll thread
FileOutputStream questions Roedy Green <see_website@mindprod.com.invalid> - 2012-12-25 06:36 -0800
Re: FileOutputStream questions markspace <markspace@nospam.nospam> - 2012-12-25 07:54 -0800
Re: FileOutputStream questions Roedy Green <see_website@mindprod.com.invalid> - 2012-12-26 01:30 -0800
Re: FileOutputStream questions Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-12-25 18:32 +0200
Re: FileOutputStream questions Knute Johnson <nospam@knutejohnson.com> - 2012-12-25 11:45 -0800
Re: FileOutputStream questions Roedy Green <see_website@mindprod.com.invalid> - 2012-12-26 01:32 -0800
Re: FileOutputStream questions Knute Johnson <nospam@knutejohnson.com> - 2012-12-26 09:19 -0800
Re: FileOutputStream questions Roedy Green <see_website@mindprod.com.invalid> - 2012-12-25 13:17 -0800
Re: FileOutputStream questions Knute Johnson <nospam@knutejohnson.com> - 2012-12-25 14:05 -0800
Re: FileOutputStream questions Roedy Green <see_website@mindprod.com.invalid> - 2012-12-26 01:35 -0800
Re: FileOutputStream questions markspace <markspace@nospam.nospam> - 2012-12-26 07:46 -0800
Re: FileOutputStream questions Stanimir Stamenkov <s7an10@netscape.net> - 2013-01-01 02:36 +0200
csiph-web