🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1184

Re: How can I get the number of disk free space

#1184
From: Rich Wilkman
Date: Sun, 21 Apr 2002 17:15
18 lines
1514 bytes
You'll have to resort to native code (JNI) or find whatever shell command is
needed to get the info on all the platforms your code will run on and use
Runtime.exec() with that command.  This type of info is definitily atomic
and system dependent.

-Rich

Fang Jing wrote:

>   I want to  get the number of disk free space , but I don't know how to
> reach it.
>   Would you please tell me how to reach it?
>
> Thank you very much!
>
> Sincerely,
>   Fang Jing
>   fangj@pub.cnnb.net
Technical Details
Message-ID: <3CC2F3B1.448F5939@formlessvoid.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3cbe94f9$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,fae13f56eac39e09
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-04-21 10:27:45 PST
Message-ID: <3CC2F3B1.448F5939@formlessvoid.com>
Date: Sun, 21 Apr 2002 10:15:29 -0700
From: Rich Wilkman <richw@formlessvoid.com>
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: How can I get the number of disk free space
References: <3cbe94f9$1_2@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.130.77.153
X-Trace: dnews 1019409317 64.130.77.153 (21 Apr 2002 10:15:17 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews