🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help needed with cross platform File types (emergency!)

#14714
From: Paul Furbacher
Date: Mon, 16 Aug 1999 00:00
26 lines
1669 bytes
Johan Forsberg wrote:
> 
> Eric Maziade <maze@novisoft.com.nospam> skrev i
> diskussionsgruppsmeddelandet:7p93pq$p3q6@forums.borland.com...
> [Mac file types]
> > Do you know any way of accessing this identifier through java?
> 
> Nope. That would be system specific, so it's not allowed...
> 
> The best solution would probably be to construct some kind of extensible
> file typing class hierarchy for java, that can determine what a file
> contains from the first 512 bytes or so...
> I'm aware of nothing quite like this for Java.

Actually, there is a very useful library, entirely cross-platform, 
which does lots of stuff with file access, and much, much more.
It's called JConfig:

  http://www.tolstoy.com/samizdat/jconfig.html


(That's the second time today in this newsgroup that I've had 
to mention JConfig.)


Paul Furbacher  (TeamB)
Technical Details
Message-ID: <37B85E31.591B905E@bilbo.bio.purdue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7opf28$aak1@forums.borland.com> <37cc6506.323766979@90.0.0.40> <7oq0ip$al611@forums.borland.com> <37B08FB2.85E032AC@iqxpert.com> <7p0iml$h8e2@forums.borland.com> <7p93pq$p3q6@forums.borland.com> <7p97sh$p3v19@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,99c37293ba93bd21
X-Google-Attributes: gidf74b3,public
From: Paul Furbacher <pf@bilbo.bio.purdue.edu>
Subject: Re: Help needed with cross platform File types (emergency!)
Date: 1999/08/16
Message-ID: <37B85E31.591B905E@bilbo.bio.purdue.edu>
X-Deja-AN: 513481847
Content-Transfer-Encoding: 7bit
References: <7opf28$aak1@forums.borland.com> <37cc6506.323766979@90.0.0.40> <7oq0ip$al611@forums.borland.com> <37B08FB2.85E032AC@iqxpert.com> <7p0iml$h8e2@forums.borland.com> <7p93pq$p3q6@forums.borland.com> <7p97sh$p3v19@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: Reverse Alchemy, Inc.
Mime-Version: 1.0
Reply-To: pf@bilbo.bio.purdue.edu
Newsgroups: borland.public.jbuilder.java.language