🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: File Copy

#19324
From: James D. Frentress
Date: Thu, 19 Feb 1998 00:00
13 lines
943 bytes
Andrew Bennett wrote:

> Have you looked at using an InputStream and an OutputStream to
> read from one and stuff it into the other?
>

Yep, in fact that's what I'm currently doing pending a better solution
and it's what I was referring to by "read/write the file" in my original
message. I just can't figure out why there is a File.renameTo() but no
File.copyTo().

Jim
Technical Details
Message-ID: <34EC9742.77BD8158@ForAWhile.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34EB98D0.26C6EB8B@ForAWhile.com> <34EC8611.154AFA68@borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e4e7d7ce877368e7
X-Google-Attributes: gidf74b3,public
From: "James D. Frentress" <Broken@ForAWhile.com>
Subject: Re: File Copy
Date: 1998/02/19
Message-ID: <34EC9742.77BD8158@ForAWhile.com>
X-Deja-AN: 326703517
Content-Transfer-Encoding: 7bit
References: <34EB98D0.26C6EB8B@ForAWhile.com> <34EC8611.154AFA68@borland.com>
X-Priority: 3 (Normal)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Microsoft
Newsgroups: borland.public.jbuilder.java.language