tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-89) Rename MimeType and MimeTypes
Date Sun, 01 Mar 2015 06:44:04 GMT

    [ https://issues.apache.org/jira/browse/TIKA-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341984#comment-14341984
] 

Nick Burch commented on TIKA-89:
--------------------------------

I think this might have already been done? 

The {{MimeTypes}} class provides detection + a method {{getMediaTypeRegistry()}} which returns
a {{MediaTypeRegistry}}, and we have classes {{MimeType}} and {{MediaType}} which are different
things

> Rename MimeType and MimeTypes
> -----------------------------
>
>                 Key: TIKA-89
>                 URL: https://issues.apache.org/jira/browse/TIKA-89
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>
> I'd like to rename the MimeType and MimeTypes classes respectively to MediaType and MediaTypeRegistry.
The rationale for this change is:
>     a) The standard term for a MIME type is media type.
>     b) MimeTypes is not just a collection of MimeType objects, ...Registry is more appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message