• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: file extensions and Mime Type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file extensions and Mime Type


  • Subject: Re: file extensions and Mime Type
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 22 Apr 2009 15:14:17 -0400
  • Organization: Rogue Research Inc.

On 4/22/09 11:31 AM, rajesh said:

>We have listed few mime types which we support and mapped them
>accordingly for processing.
>How can one retrieve the Mime type for a particular file?

The filesystem does not store a file's mime type nor its UTI as part of
the file's metadata.  The only filesystem metadata available is the file
name extension and HFS type.  Those are what Launch Services consults to
decide the UTI.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: file extensions and Mime Type
      • From: Alastair Houghton <email@hidden>
References: 
 >file extensions and Mime Type (From: rajesh <email@hidden>)

  • Prev by Date: -[NSSharedWorkspace openFile:]: Application exits with status 255
  • Next by Date: Re: Scaling an entire CGPath?
  • Previous by thread: Re: file extensions and Mime Type
  • Next by thread: Re: file extensions and Mime Type
  • Index(es):
    • Date
    • Thread