extensions.st
author Claus Gittinger <cg@exept.de>
Sun, 27 May 2018 15:01:50 +0200
changeset 4096 f2a7b387a402
parent 4089 a64828e69680
child 4139 6dffe5499f3b
permissions -rw-r--r--
#BUGFIX by cg class: ToolApplicationModel changed: #showHelp:for: (send #firstOrNil instead of #first)

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

!CharacterArray methodsFor:'converting'!

asMimeType
    "return myself as a mimeType instance"

    ^ MIMETypes mimeTypeFromString:self string

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

!stx_libview2 class methodsFor:'documentation'!

extensionsVersion_CVS
    ^ '$Header$'
! !

!stx_libview2 class methodsFor:'documentation'!

extensionsVersion_SVN
    ^ 'Id:'
! !