🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Writing plain text to file

#241
From: Kevin Dean [TeamB]
Date: Mon, 06 Mar 2006 12:54
18 lines
1493 bytes
Raul Lorenzo wrote:

>I have this piece of code to write a String to a file:

Try using PrintWriter and the println() method.

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0ejejtb48ywr000-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <440c19e7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,7427db691bf1ff33
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Writing plain text to file
Newsgroups: borland.public.jbuilder.java.language
References: <440c19e7$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.6.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0ejejtb48ywr000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:00000508
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
NNTP-Posting-Host: 70.27.198.51
Date: 6 Mar 2006 05:54:39 -0700
X-Trace: newsgroups.borland.com 1141653279 70.27.198.51 (6 Mar 2006 05:54:39 -0700)
Lines: 18
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail