Article View: borland.public.jbuilder.java.language
Article #14987Re: File copying
From: Sylvain FRANCOIS
Date: Thu, 22 Jul 1999 00:00
Date: Thu, 22 Jul 1999 00:00
24 lines
1307 bytes
1307 bytes
You have to open an InputStream to read the file to copy and to open an
OutputStream for the copy of the file. Then, you write to the OutputStream
all you read from InputStream. Just make the following search on AltaVista:
"Romain Guy"
then, choose the page which deals with Java Shell. Download its sources.
You'll find a class called Copy (I made it, as I made List -dir-, cd,
etc...). It is under GNU/GPL, use it !!
Romain Guy
Lois Neo <slneo@cybergal.com> a οΏ½crit dans le message :
7n7f8t$mr12@forums.borland.com...
> Hi,
>
> Is there any way to do File copying in java 1.2?
> I can't find any methods to do this. Anyone has done this before, can give
> some pointers?
>
> --
> Thanks for any help given
>
> Lois
>
>
Technical Details
Message-ID:
<7n7grp$mqp4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7n7f8t$mr12@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,b751b7d0ea691aa1,start X-Google-Attributes: gidf74b3,public From: "Sylvain FRANCOIS" <francois@jctech.fr> Subject: Re: File copying Date: 1999/07/22 Message-ID: <7n7grp$mqp4@forums.borland.com> X-Deja-AN: 504059048 References: <7n7f8t$mr12@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.language