Article View: aus.computers.java
Article #522Re: FileWriter problem
From: stevehorsley
Date: Fri, 11 Aug 2000 00:00
Date: Fri, 11 Aug 2000 00:00
26 lines
1366 bytes
1366 bytes
You need to set the second argument to true to append. Setting it to false makes it write at the beginning of the file. Steve In article <MlTk5.28857$c5.80548@newsfeeds.bigpond.com>, "Nicholas Routledge" <n.routledge@bigpond.com> wrote: > Hi, > > I need to print some lines of text in a text file using the file writer > class so that the new lines are appended after the existing lines. I > thought this could be done by setting the second arguement of the FileWriter > constructor to false. This didn't work though. Any ideas? > > -- > cheers, > nick > > Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<8n191j$pjg$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<MlTk5.28857$c5.80548@newsfeeds.bigpond.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,7f96fde01ceeb027 X-Google-Attributes: gid10d6db,public X-Google-Thread: 113ae9,7f96fde01ceeb027 X-Google-Attributes: gid113ae9,public From: stevehorsley@my-deja.com Subject: Re: FileWriter problem Date: 2000/08/11 Message-ID: <8n191j$pjg$1@nnrp1.deja.com> X-Deja-AN: 657203395 References: <MlTk5.28857$c5.80548@newsfeeds.bigpond.com> X-Http-Proxy: 1.0 x63.deja.com:80 (Squid/1.1.22) for client 194.6.81.93 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Aug 11 16:19:06 2000 GMT X-MyDeja-Info: XMYDJUIDstevehorsley Newsgroups: aus.computers.java,comp.lang.java.help X-Http-User-Agent: Mozilla/4.51 [en] (WinNT; I)