Re: need a better file copy method

Stefaan A Eeckels <[email protected]> Tue, 2 May 2006 23:20:55 +0200
Newsgroups gmane.comp.java.linux.general
Organization E.C.C. sa - Computer Consultants
Message-ID <[email protected]>
On Mon, 01 May 2006 13:41:12 -0700
"Jim C." <[email protected]> wrote:

> Anyone know how a simple file copy can be accomplished in an
> explicitly synchronous manner without adding Thread.sleep(n) after
> calling flush on the output stream?

Have you tried the streams method from the same site:

http://javaalmanac.com/egs/java.io/CopyFile.html

-- 
Stefaan
-- 
As complexity rises, precise statements lose meaning,
and meaningful statements lose precision. -- Lotfi Zadeh 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]