🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help needed with cross platform File types (emergency!)

#14652
From: Eric Maziade
Date: Tue, 10 Aug 1999 00:00
18 lines
1102 bytes
Hi guys!
I am building a tree displaying the whole drives and files on a computer
(works fine)... but I need to show only certain types of files (in this
case, only jpeg files and folders must be shown).  The application needs to
be crossplatform, so I cannot rely on file extensions (I guess, I have not
yet purchased my other platforms for testing).

Anyone knows how to know what type a file is, platform-independently ?

Thanks!

--

---
Eric Maziade
Concepteur en technologies de pointe multim�dia
http://www.novisoft.com
http://www.novisoft.com/maze
Technical Details
Message-ID: <7opf28$aak1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,99c37293ba93bd21,start
X-Google-Attributes: gidf74b3,public
From: "Eric Maziade" <maze@novisoft.com.nospam>
Subject: Help needed with cross platform File types (emergency!)
Date: 1999/08/10
Message-ID: <7opf28$aak1@forums.borland.com>
X-Deja-AN: 511072162
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language