Mime Parser

Extending correctly.

This component helps you working with files in webFormats by giving you file extensions based on Mimetypes and vice versa.

Parameters:
  • Default Extension : The default fileextension that should be used when nothing matching is found.
  • Default Mimetype : Default MimeType returned when not match is found. 

Methods:
  • Get_Mime_Ext( mimetype: str, filepath : str = ""): Returns the fileextension associated with the mimetype. When a filepath is appended, will append the extension to the filepath.


Downloads: 470

Created at: 2.3.2022

Uploaded: 2.3.2022
Download