extensions.st
author Claus Gittinger <cg@exept.de>
Sat, 12 May 2018 14:23:45 +0200
changeset 4088 bbf9b58f99c8
parent 3144 eaa38e147e20
child 3855 1db7742d33ad
child 4089 a64828e69680
permissions -rw-r--r--
#FEATURE by cg class: MIMETypes class changed: #initializeFileInfoMappings class: MIMETypes::MIMEType added: #asMimeType #isCHeaderType #isCPPSourceType #isCSourceType

"{ Package: 'stx:libview2' }"!

!CharacterArray methodsFor:'converting'!

asMimeType
    ^ MIMETypes mimeTypeFromString:self string

    "
     'text/html' asMimeType isTextType
     'text/html' asMimeType isImage
     'image/gif' asMimeType isImage
    "
! !

!stx_libview2 class methodsFor:'documentation'!

extensionsVersion_CVS
    ^ '$Header: /cvs/stx/stx/libview2/extensions.st,v 1.5 2013-05-07 12:17:03 cg Exp $'
! !

!stx_libview2 class methodsFor:'documentation'!

extensionsVersion_SVN
    ^ 'Id:'
! !