Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nigel Wade Newsgroups: comp.lang.java.help Subject: Re: Easy way to read the contants of a folder/directory and output contents to file? Date: Mon, 12 Dec 2011 14:49:08 +0000 Lines: 8 Message-ID: <9kmij4FsduU1@mid.individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net gBHLX5qhmcKW7K9zn98njAB3trkj/aw3rEl1qTim5E2H9KI23T Cancel-Lock: sha1:+5KZ21PEZFWs1IyEJWdcsW0MS+Y= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1430 On 12/12/11 14:42, Thee Chicago Wolf [MVP] wrote: > outFile.write(String.valueOf(list[i]+"\n")); Do you something against the PrintWriter.println(String) method? -- Nigel Wade