Uranium
Application Framework
|
Public Member Functions | |
def | __init__ |
def | name (self) |
def | comment (self) |
def | suffixes (self) |
def | preferredSuffix (self) |
def | __repr__ (self) |
def | __eq__ |
def | stripExtension |
Static Public Member Functions | |
def | fromQMimeType |
Simple value type class that encapsulates MIME type data.
def UM.MimeTypeDatabase.MimeType.__repr__ | ( | self, | |
str | |||
) |
Gives a programmer-readable representation of the MIME type. :return: A string representing the MIME type.
def UM.MimeTypeDatabase.MimeType.comment | ( | self, | |
str | |||
) |
The comment that describes of the MIME type.
def UM.MimeTypeDatabase.MimeType.name | ( | self, | |
str | |||
) |
The name that identifies the MIME type.
def UM.MimeTypeDatabase.MimeType.preferredSuffix | ( | self, | |
str | |||
) |
The preferred file name suffix for the MIME type. Example: "cfg" or "tar.gz".
def UM.MimeTypeDatabase.MimeType.suffixes | ( | self, | |
List, | |||
str | |||
) |
The list of file name suffixes for the MIME type. Example: ["cfg", "tar.gz"]