Article View: borland.public.jbuilder.java.language
Article #14706Re: Help needed with cross platform File types (emergency!)
From: Eric Maziade
Date: Mon, 16 Aug 1999 00:00
Date: Mon, 16 Aug 1999 00:00
24 lines
1624 bytes
1624 bytes
Do you know any way of accessing this identifier through java? -- --- Eric Maziade Concepteur en technologies de pointe multim�dia http://www.novisoft.com http://www.novisoft.com/maze Johan Forsberg <jfo@SPAM_SPAM_EGGS_SPAMstmf.se> wrote in message news:7p0iml$h8e2@forums.borland.com... > > David Graff <david.graff@iqxpert.com> skrev i > diskussionsgruppsmeddelandet:37B08FB2.85E032AC@iqxpert.com... > > the unix way of doing it would be to check the Magic number of the file. > > Mac on the other hand probably does it the same way (magic number). > > Windoze however bases all it's type information on extensions. > > The mac uses a four letter creator and a four letter type (ie. 'PAINT', > 'PICT') which along with some other file info is stored in an information > block which is not a part of the file proper... > This leads to endless problems when transfering files from/to macs :-) > >
Technical Details
Message-ID:
<7p93pq$p3q6@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,99c37293ba93bd21 X-Google-Attributes: gidf74b3,public From: "Eric Maziade" <maze@novisoft.com.nospam> Subject: Re: Help needed with cross platform File types (emergency!) Date: 1999/08/16 Message-ID: <7p93pq$p3q6@forums.borland.com> X-Deja-AN: 513370465 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> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.language