Re: creating/copying files..
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 01:21:25 GMT
On Wed, 28 Dec 2005 22:47:23 GMT, Carl <_Nospam_@xxxxxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :
>Are you sure about that? It seems to work just fine for me.
All I am saying in that new File does not create a file. It is just a
handle to a file. createNewFile or createTempFile will create a file
though if all you want is an empty file. If you plan to write
something in it, there is no point in createNewFile. The file gets
created as needed as a side effect of writing.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Follow-Ups:
- Re: creating/copying files..
- From: Carl
- Re: creating/copying files..
- References:
- creating/copying files..
- From: Frances
- Re: creating/copying files..
- From: Roedy Green
- Re: creating/copying files..
- From: Frances
- Re: creating/copying files..
- From: Roedy Green
- Re: creating/copying files..
- From: Carl
- creating/copying files..
- Prev by Date: Re: GUI program locking up...
- Next by Date: Re: creating/copying files..
- Previous by thread: Re: creating/copying files..
- Next by thread: Re: creating/copying files..
- Index(es):