Represents a supported MIME type.
If you need information about the plug-in that is set to handle the data of a MIME type, use the enabledPlugin property of the mimeType object.
Methods that return the object:
The base interface, through which you can add new functionalities to the mimeType object, is the MimeType interface.
|Returns a long description of the current MIME type.|
|Returns a plugin object that contains information about the plug-in that is set to handle the data of the current MIME type.|
|Returns a string value that contains a comma separated list of possible file extensions for the current MIME type.|
|Returns the name of the current MIME type.|
Example HTML code 1:
This example illustrates the use of the mimeTypes collection and the mimeType object:
Did you find this example helpful?
User Contributed Comments