🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8216

Re: I/O in text file!

#8216
From: John McGrath TeamB
Date: Fri, 13 Apr 2001 09:11
17 lines
1410 bytes
On 11 Apr 2001 05:59:47 -0700, Joi Ellis [TeamB] wrote:

> If you use System.getProperty("line.seperator") to retrieve
> the platform's newline string, your code will be portable.

An even easier way to do that is to use one of the many println() 
methods in the "java.io" package.  These will write the value of 
"line.separator" for you.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.15407d52881df1ae98a11c@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!news-out.visi.com!hermes.visi.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews
References: <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-13 02:26:07 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: I/O in text file!
Date: Fri, 13 Apr 2001 05:11:17 -0400
Message-ID: <MPG.15407d52881df1ae98a11c@forums.borland.com>
References: <3ad41b66_1@dnews> <3ad41f0d$3_1@dnews> <3ad45543_1@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 987153064 209.92.40.60 (13 Apr 2001 02:11:04 -0700)
Lines: 17
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!news-out.visi.com!hermes.visi.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews