MIMETypes.st
changeset 2570 a089fc8372f1
parent 2535 cebfc5d2ebb4
child 2582 298203fdb64d
equal deleted inserted replaced
2569:4ea35689e2df 2570:a089fc8372f1
   327     "/ setup suffix to image reader class mapping ...
   327     "/ setup suffix to image reader class mapping ...
   328 
   328 
   329     FileSuffixToImageReaderClassMapping at:'jpg'  put:JPEGReader.
   329     FileSuffixToImageReaderClassMapping at:'jpg'  put:JPEGReader.
   330     FileSuffixToImageReaderClassMapping at:'gif'  put:GIFReader.
   330     FileSuffixToImageReaderClassMapping at:'gif'  put:GIFReader.
   331     FileSuffixToImageReaderClassMapping at:'tif'  put:TIFFReader.
   331     FileSuffixToImageReaderClassMapping at:'tif'  put:TIFFReader.
       
   332 
       
   333     WindowsIconReader notNil ifTrue:[
       
   334         TypeToImageReaderClassMapping at:'image/bmp'  put:WindowsIconReader.
       
   335         FileSuffixToImageReaderClassMapping at:'bmp'  put:WindowsIconReader.
       
   336     ].
   332 !
   337 !
   333 
   338 
   334 initializeParenthesisSpecMappings
   339 initializeParenthesisSpecMappings
   335     |spec|
   340     |spec|
   336 
   341 
  1231 ! !
  1236 ! !
  1232 
  1237 
  1233 !MIMETypes class methodsFor:'documentation'!
  1238 !MIMETypes class methodsFor:'documentation'!
  1234 
  1239 
  1235 version
  1240 version
  1236     ^ '$Header: /cvs/stx/stx/libview2/MIMETypes.st,v 1.98 2008-08-28 13:11:42 cg Exp $'
  1241     ^ '$Header: /cvs/stx/stx/libview2/MIMETypes.st,v 1.99 2008-12-02 15:32:21 cg Exp $'
  1237 ! !
  1242 ! !
  1238 
  1243 
  1239 MIMETypes initialize!
  1244 MIMETypes initialize!
  1240 MIMETypes::MIMEType initialize!
  1245 MIMETypes::MIMEType initialize!