extensions.st
author convert-repo
Wed, 20 Jun 2018 03:32:04 +0000
changeset 4135 616a34e5a8a8
parent 4089 a64828e69680
child 4139 6dffe5499f3b
permissions -rw-r--r--
update tags

"{ 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:'
! !