Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!fi.sn.net!newsfeed2.tdcnet.fi!news.song.fi!not-for-mail From: Jukka Lahtinen Newsgroups: comp.lang.java.help Subject: Re: Easy way to read the contants of a folder/directory and output contents to file? Organization: none References: X-no-archive: yes Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: Mon, 12 Dec 2011 18:24:28 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:1Gy2DwgkUVAZRggiTdT5pc3Laf8= MIME-Version: 1.0 Lines: 10 NNTP-Posting-Host: 81.17.207.67 X-Trace: 1323707068 news.tdc.fi 2772 81.17.207.67:36995 X-Complaints-To: abuse@tdcnet.fi Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1440 "Thee Chicago Wolf [MVP]" <.@.> writes: > A lot cleaner. In my original code, I used outFile.write. Just for my > own knowledge, any idea why outFile.println versus outFIle.write would > make the output look different? Not before you actually show us your code with println calls. -- Jukka Lahtinen