util.MIMEType 类


稳定性: 1 - 实验

MIMEType 类 的实现。

按照浏览器的约定,MIMEType 对象的所有属性都被实现为类原型上的获取器和设置器,而不是对象本身的数据属性。

MIME 字符串是包含多个有意义的组件的结构化字符串。 解析后,将返回一个 MIMEType 对象,其中包含每个组件的属性。

Stability: 1 - Experimental

An implementation of the MIMEType class.

In accordance with browser conventions, all properties of MIMEType objects are implemented as getters and setters on the class prototype, rather than as data properties on the object itself.

A MIME string is a structured string containing multiple meaningful components. When parsed, a MIMEType object is returned containing properties for each of these components.