Back to index

plone3  3.1.7
Public Member Functions
MimetypesRegistry.interfaces.IMimetype Class Reference
Inheritance diagram for MimetypesRegistry.interfaces.IMimetype:
Inheritance graph
[legend]
Collaboration diagram for MimetypesRegistry.interfaces.IMimetype:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def name
def major
def minor
def normalized

Detailed Description

Specification for dealing with mimetypes RFC-2046 style

Definition at line 4 of file interfaces.py.


Member Function Documentation

return the major part of the RFC-2046 name for this mime type 

Definition at line 17 of file interfaces.py.

00017 
00018     def major(self):
00019         """ return the major part of the RFC-2046 name for this mime type """

return the minor part of the RFC-2046 name for this mime type 

Definition at line 20 of file interfaces.py.

00020 
00021     def minor(self):
00022         """ return the minor part of the RFC-2046 name for this mime type """

Specification for dealing with mimetypes RFC-2046 style
return the Human readable name of the mimetype

Definition at line 14 of file interfaces.py.

00014 
00015     def name(self):
00016         """return the Human readable name of the mimetype"""

Here is the caller graph for this function:

return the main RFC-2046 name for this mime type

e.g. if this object has names ('text/restructured', 'text-x-rst')
then self.normalized() will always return the first form.

Definition at line 23 of file interfaces.py.

00023 
00024     def normalized(self):
00025         """ return the main RFC-2046 name for this mime type
00026 
00027         e.g. if this object has names ('text/restructured', 'text-x-rst')
00028         then self.normalized() will always return the first form.
00029         """

Here is the caller graph for this function:


The documentation for this class was generated from the following file: