tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-1013) Add ability to check if a mime-type is already registered
Date Tue, 30 Oct 2012 01:08:12 GMT

     [ https://issues.apache.org/jira/browse/TIKA-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ryan McKinley updated TIKA-1013:

    Attachment: TIKA-1013-check-registered-mime.patch

a simple patch that uses the same logic as #forName(String) but does not register a new mime
> Add ability to check if a mime-type is already registered
> ---------------------------------------------------------
>                 Key: TIKA-1013
>                 URL: https://issues.apache.org/jira/browse/TIKA-1013
>             Project: Tika
>          Issue Type: New Feature
>          Components: mime
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: TIKA-1013-check-registered-mime.patch
> Currently you can not ask MimeTypes if it knows about mime-type or not.  This patch adds
the ability to get the normalized MimeType for a string *without* creating a new one.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message