Article View: borland.public.jbuilder.java.api
Article #528Re: Reading from a file
From: John McGrath [TeamB]
Date: Tue, 05 Aug 2003 06:07
Date: Tue, 05 Aug 2003 06:07
15 lines
1511 bytes
1511 bytes
On 8/1/2003 at 3:54:18 PM, Shankar Unni wrote: > One basic idea: make your app ignore files with a specific ending > (e.g. .tmp), and make the user copy the file in using a two-step > process: first copy the file into /your/location/new-file.tmp, and > once the copy is done, rename new-file.tmp to new-file. Another approach along the same lines is to create the file in a different directory on the same device as the input directory. After the file has been created, rename it to the input directory. -- Regards, John McGrath [TeamB]
Technical Details
Message-ID:
<3f2f49ba@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f2a1901$1@newsgroups.borland.com> <3f2ac569$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,9b905ec90ba73073 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-08-04 23:09:33 PST From: "John McGrath [TeamB]" <ng-b@jpmcgrath.net> Subject: Re: Reading from a file Newsgroups: borland.public.jbuilder.java.api References: <3f2a1901$1@newsgroups.borland.com> <3f2ac569$1@newsgroups.borland.com> User-Agent: XanaNews/1.15.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 141.151.11.48 Message-ID: <3f2f49ba@newsgroups.borland.com> Date: 4 Aug 2003 23:07:54 -0700 X-Trace: newsgroups.borland.com 1060063674 141.151.11.48 (4 Aug 2003 23:07:54 -0700) Lines: 15 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail