🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15978

Re: File IO.

#15978
From: Tor Iver Wilhelmsen
Date: Mon, 12 Apr 1999 00:00
11 lines
860 bytes
"Jason C. Leach" <leachjc@hotmail.com> writes:

> done. works fine thanks.
> 
> Do you know how to determin the size of a file? At my fingertips at the
> moment I have the FileInputStream, and a JFileChooser. Both work :)

File.length();

Provided you have a File object somewhere between your JFileChooser
and your FileInputStream.
Technical Details
Message-ID: <uwvzirzxp.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37116ED0.EE5262B1@hotmail.com> <37117152.2342028258@forums.borland.com> <371197E9.E0BF3818@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,409689455649c9cf
X-Google-Attributes: gidf74b3,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: File IO.
Date: 1999/04/12
Message-ID: <uwvzirzxp.fsf@sds.no>
X-Deja-AN: 465398488
Sender: towi@SDSA1761
References: <37116ED0.EE5262B1@hotmail.com> <37117152.2342028258@forums.borland.com> <371197E9.E0BF3818@hotmail.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language