Package muntjac :: Package service :: Module file_type_resolver
[hide private]
[frames] | no frames]

Module file_type_resolver

source code

Defines a class that can figure out mime-types and icons related to files.

Classes [hide private]
  FileTypeResolver
Utility class that can figure out mime-types and icons related to files.
Variables [hide private]
  lines = ['application/cu-seeme csm ...
  folder = ThemeResource('../runo/icons/16/folder.png')
  __package__ = 'muntjac.service'
  ext = 'wrl'
  exts = ['x-world/x-vrml', 'vrm', 'vrml', 'wrl']
  line = 'x-world/x-vrml vrm vr...
  typ = 'x-world/x-vrml'
Variables Details [hide private]

lines

Value:
['application/cu-seeme                            csm cu',
 'application/dsptype                             tsp',
 'application/futuresplash                        spl',
 'application/mac-binhex40                        hqx',
 'application/msaccess                            mdb',
 'application/msword                              doc dot',
 'application/octet-stream                        bin',
 'application/oda                                 oda',
...

line

Value:
'x-world/x-vrml                                  vrm vrml wrl'