Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberSession


GetISOTypeFromMIMEType

Converts a MIME media type to an OpenDoc value type.

ODValueType GetISOTypeFromMIMEType (in char* mediaType);
mediaType
A pointer to a null-terminated string that contains the MIME media type (for example, 'text/html').
return value
A corresponding OpenDoc value type.
DISCUSSION
Typically, you call this method when you need to determine the kind of part to create to display a Cyberdog item. You are responsible for deallocating the returned ODValueType object when you have finished using it.

Do not subclass this class.

SEE ALSO
Media Types and Part Kinds (page 183).
The GetCyberItemTypeFromContentType method (page 361).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996