🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to copy files?

#15436
From: Rich Wilkman
Date: Thu, 10 Jun 1999 00:00
37 lines
1674 bytes
Robert:

This is covered in most of the Java FAQs out there (the one at
http://afu.com is the best one).  Copy is one of those items that are
implemented "locally" by the OS and not in any generic platform
independent mechanism that Java could use.  Read and write to new, using
buffered streams, is one way of doing it.

-Rich

Robert Bassett wrote:
> 
> Hi,
> 
> There seems to be an abundance of file read/write classes in the SDK,
> but I can't see what I use to do a simple file COPY. Surely I don't have
> to do a read(old file)/write(new file)?
> 
> Can anybody tell me what I should use?
> 
> Thanks in advance,
> Robert.

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <37602C22.7D157E84@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <375FDA2A.AA653DD0@paralynx.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,61919804dcfc7578
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: How to copy files?
Date: 1999/06/10
Message-ID: <37602C22.7D157E84@inprise.com>
X-Deja-AN: 488070174
Content-Transfer-Encoding: 7bit
References: <375FDA2A.AA653DD0@paralynx.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language