Article View: borland.public.jbuilder.java.language
Article #8201Re: I/O in text file!
From: Marcel Gabi
Date: Wed, 11 Apr 2001 15:31
Date: Wed, 11 Apr 2001 15:31
21 lines
1575 bytes
1575 bytes
Actually it is "line.separator" and not "line.seperator".
Regards,
Marcel
"Joi Ellis [TeamB]" wrote:
> Owen Green <owen@norobots.unique.com> wrote:
>
> > Try using "\n" for a line break, or if you're sure you want a full CRLF pair
> > use "\r\n". Carriage return on its own won't work, afaik.
>
> If you use System.getProperty("line.seperator") to retrieve the platform's
> newline string, your code will be portable.
>
> --
> Joi Ellis (TeamB)
> No direct email, please.
> For best results, post on news server newsgroups.borland.com!
> Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<3AD478D7.18BA2527@borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ad41b66_1@dnews> <3ad41f0d$3_1@dnews> <3ad45543_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,46ce6028d204f886 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-11 08:46:02 PST Message-ID: <3AD478D7.18BA2527@borland.com> Date: Wed, 11 Apr 2001 08:31:35 -0700 From: Marcel Gabi <mgabi@borland.com> Organization: Borland Software Corporation X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: I/O in text file! References: <3ad41b66_1@dnews> <3ad41f0d$3_1@dnews> <3ad45543_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.12.99 X-Trace: dnews 987003235 10.143.12.99 (11 Apr 2001 08:33:55 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews