Article View: borland.public.jbuilder.java.language
Article #8760Re: How I read a variable?
From: Hartmut
Date: Fri, 02 Mar 2001 10:31
Date: Fri, 02 Mar 2001 10:31
18 lines
1343 bytes
1343 bytes
Gustavo, I see my code example is much more ugly than I had thought. Sometimes the DOS command has not yet finished as the FileInputStream tries to open the output file. Then an IOException is thrown. If you really want to use it, you should put it into a loop that's trying access until it succeeds. But to be sure we would need a sort of timeout to avoid an endless loop if the DOS command fails completely. Also very annoying, that the DOS box comes up Ok, it's only a try - as I said: ugly ... Regards, Hartmut
Technical Details
Message-ID:
<3a9f7676_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!217.3.245.53References:
<3a9ef6c9_1@dnews> <3a9f71ea$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,96cf5c3ab3b6aad X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-02 02:36:02 PST From: "Hartmut" <hartmut.kiessling@bnhof.de> Newsgroups: borland.public.jbuilder.java.language References: <3a9ef6c9_1@dnews> <3a9f71ea$1_1@dnews> Subject: Re: How I read a variable? Date: Fri, 2 Mar 2001 11:31:21 +0100 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 217.3.245.53 Message-ID: <3a9f7676_2@dnews> X-Trace: 2 Mar 2001 02:31:18 -0800, 217.3.245.53 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!217.3.245.53