from_file_extension method
from_file_extension
Creates a new MIME type based on file extension.
Returns
The new instance of MIME type
def from_file_extension(self, file_name):
...
Parameter | Type | Description |
---|---|---|
file_name | str | The name of the file. |
See Also
- module
aspose.html
- class
MimeType