[Pharo-project] [COTDC] 62 - MIMEType

laurent laffont laurent.laffont at gmail.com
Thu May 12 14:35:42 EDT 2011


On Tue, May 10, 2011 at 8:31 PM, laurent laffont
<laurent.laffont at gmail.com>wrote:

>  Today: MIMEType
>


I guess and represent the content type of a file. For a description of what
is MIME, see
http://en.wikipedia.org/wiki/Internet_media_type
http://en.wikipedia.org/wiki/MIME

Examples:

MIMEType forFileNameReturnMimeTypesOrDefault: 'index.html'.

MIMEType fromMIMEString: 'application/zip'.


Laurent.


>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
>
> Laurent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110512/960e46c2/attachment.html>


More information about the Pharo-dev mailing list