Article View: borland.public.jbuilder.java.language
Article #14653Re: Help needed with cross platform File types (emergency!)
From: Steve Schafer (TeamB)
Date: Tue, 10 Aug 1999 00:00
Date: Tue, 10 Aug 1999 00:00
15 lines
1186 bytes
1186 bytes
On Tue, 10 Aug 1999 11:05:58 -0400, "Eric Maziade" <maze@novisoft.com.nospam> wrote: >Anyone knows how to know what type a file is, platform-independently ? The only way to really "know" what type a file may be is to open it up and look inside. For example, JFIF-format JPEG files will contain the string "JFIF" near the beginning of the file. Even so, you have to rely on various heuristics--a file could look like it conforms to some specification, and you might not be able to tell that it actually conforms to some other specification until you've read the first 50 megabytes of it. -Steve
Technical Details
Message-ID:
<37cc6506.323766979@90.0.0.40>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7opf28$aak1@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: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: Help needed with cross platform File types (emergency!) Date: 1999/08/10 Message-ID: <37cc6506.323766979@90.0.0.40> X-Deja-AN: 511125644 Content-Transfer-Encoding: 7bit References: <7opf28$aak1@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language