Uniform Type Identifier

Uniform Type Identifier

A Uniform Type Identifier (UTI) is a string defined by Apple Inc. that uniquely identifies the type of a class of items. Added in Apple's Mac OS X 10.4 operating system, UTIs are used to identify the type of files and folders, clipboard data, bundles, aliases and symlinks, and streaming data. Mac OS X's desktop search technology, Spotlight, uses UTIs to categorize documents.cite web | last = Siracusa | first = John | title = File types revisited | work = Operating System Reviews: Mac OS X 10.4 Tiger | publisher = Ars Technica | date = 2005-04-28 | accessdate = 2007-12-08 | url = http://arstechnica.com/reviews/os/macosx-10-4.ars/11] One of the primary design goals of UTIs was to eliminate the ambiguities and problems associated with inferring a file's content from its MIME type, filename extension, or type or creator code.cite web | title = Uniform Type Identifiers Overview | work = Apple Developer Connection Reference Library | publisher = Apple | date = 2007-10-29 | accessdate = 2007-12-08 | url = http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis]

UTIs use a reverse-DNS structure. UTIs support multiple inheritance, allowing multimedia files to be identified as not as single type (as in MIME), but as all the types it is; an identifier can inherit from public.audio, public.video, public.text, public.image, etc. UTIs are stored as Core Foundation strings; allowable characters are A–Z, a–z, 0–9, "-", ".", and all Unicode characters above U+007F.

The public.* domain is only editable by Apple and contains the base data types used by all UTIs.

UTIs are even used to identify other file type identifiers:

Dynamic UTIs can be created as needed by applications; these have the prefix dyn. and take the form of "a UTI-compatible wrapper around an otherwise unknown filename extension, MIME type, OSType, and so on."

Third party UTIs

Apple provides a large collection of [http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/chapter_4_section_1.html#//apple_ref/doc/uid/TP40001319-CH205-CHDIJFGJ system-declared Uniform Type Identifiers] . Third-party applications can add UTIs to the database maintained by Mac OS X by "exporting" UTIs declared within the application package. Because new UTIs can be declared to "conform to" existing system UTIs, and declarations can associate the new UTIs with file extensions, an exported declaration alone can provide the operating system with enough information to enable new functionality, such as enabling Quick Look for new file types.

References

* [http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/ "Introduction to Uniform Type Identifiers", Apple Developer Documentation]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Uniform Resource Identifier — In computing, a Uniform Resource Identifier (URI) is a compact string of characters used to identify or name a resource on the Internet. The main purpose of this identification is to enable interaction with representations of the resource over a… …   Wikipedia

  • Uniform Resource Identifier — Pour les articles homonymes, voir Uri (homonymie). Un URI, de l anglais Uniform Resource Identifier, soit littéralement identifiant uniforme de ressource, est une courte chaîne de caractères identifiant une ressource sur un réseau (par exemple… …   Wikipédia en Français

  • Uniform Resource Identifier —    Abbreviated URI. In the HTTP message header, a set of characters that identifies a resource such as a file from anywhere on the Internet.    The URI includes Uniform Resource Names and Uniform Resource Locators to identify the file by type and …   Dictionary of networking

  • Type code — A type code is the only mechanism used in pre Mac OS X versions of the Macintosh operating system to denote a file s format, in a manner similar to file extensions in other operating systems. Codes are four byte OSTypes. For example, the type… …   Wikipedia

  • Type code — Un type code (traducido como código de tipo) es el mecanismo utilizado en las versiones anteriores de la Mac OS X del sistema operativo Macintosh para indicar el formato de un archivo, es algo similar a las extensiones de archivo usado en otros… …   Wikipedia Español

  • Type Ia supernova — A Type Ia supernova is a sub category of cataclysmic variable stars that results from the violent explosion of a white dwarf star. A white dwarf is the remnant of a star that has completed its normal life cycle and has ceased nuclear fusion.… …   Wikipedia

  • Digital object identifier — For the use of digital object identifiers on Wikipedia, see Wikipedia:Digital Object Identifier. A digital object identifier (DOI) is a character string (a digital identifier ) used to uniquely identify an object such as an electronic document.… …   Wikipedia

  • Fragment identifier — In computer hypertext, a fragment identifier is a short string of characters that refers to a resource that is subordinate to another, primary resource. The primary resource is identified by a Uniform Resource Identifier (URI), and the fragment… …   Wikipedia

  • International Resource Identifier — Internationalized Resource Identifier Sur Internet, IRI ou Internationalized Resource Identifiers (soit Identificateur de ressource internationalisé en français) est un type d adresse informatique prenant en compte les divers alphabets utilisés… …   Wikipédia en Français

  • Extensible Resource Identifier — (abbreviated XRI) is a scheme and resolution protocol for abstract identifiers compatible with Uniform Resource Identifiers and Internationalized Resource Identifiers, developed by the [http://www.oasis open.org/committees/xri XRI Technical… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”