You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Luke sh (JIRA)" <ji...@apache.org> on 2015/01/30 07:49:34 UTC

[jira] [Updated] (TIKA-1535) Inheritance modification for the class MIMETypes

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

Luke sh updated TIKA-1535:
--------------------------
    Description: 
The Class MIMETypes does not currently allow for inheritance.

There are a couple of methods in this class which looks independent, and some of which needs to be exposed or overwritten for special needs or use cases, this will enable tika users with more flexibility for new mime detection algorithm.


------------------------------------
Perhaps it may be a good idea to extract out the detector logic from the MimeTypes class, and create an independent detector for Tika.

  was:
The Class MIMETypes does not currently allow for inheritance.

There are a couple of methods in this class which looks independent, and some of which needs to be exposed or overwritten for special needs or use cases, this will enable tika users with more flexibility for new mime detection algorithm.


> Inheritance modification for the class MIMETypes
> ------------------------------------------------
>
>                 Key: TIKA-1535
>                 URL: https://issues.apache.org/jira/browse/TIKA-1535
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>            Reporter: Luke sh
>            Priority: Trivial
>
> The Class MIMETypes does not currently allow for inheritance.
> There are a couple of methods in this class which looks independent, and some of which needs to be exposed or overwritten for special needs or use cases, this will enable tika users with more flexibility for new mime detection algorithm.
> ------------------------------------
> Perhaps it may be a good idea to extract out the detector logic from the MimeTypes class, and create an independent detector for Tika.



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