Article View: borland.public.jbuilder.java.language
Article #8200Re: I/O in text file!
From: Joi Ellis [TeamB]
Date: Wed, 11 Apr 2001 12:59
Date: Wed, 11 Apr 2001 12:59
15 lines
1393 bytes
1393 bytes
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:
<3ad45543_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!RENT.THIS.SPACE.FOR.ADVERTISING!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mailReferences:
<3ad41b66_1@dnews> <3ad41f0d$3_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 06:20:06 PST
Message-ID: <3ad45543_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: I/O in text file!
Newsgroups: borland.public.jbuilder.java.language
References: <3ad41b66_1@dnews> <3ad41f0d$3_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 11 Apr 2001 05:59:47 -0700
X-Trace: dnews 986993987 209.46.41.66 (11 Apr 2001 05:59:47 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!RENT.THIS.SPACE.FOR.ADVERTISING!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail