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

ASF GitHub Bot commented on TIKA-1535:
--------------------------------------

GitHub user LukeLiush opened a pull request:

    https://github.com/apache/tika/pull/45

    https://issues.apache.org/jira/browse/TIKA-1535 Inheritance modification...

    ... for the class MIMETypes

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/LukeLiush/tika TIKA-1535

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tika/pull/45.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #45
    
----
commit 66cdb6e30dd1654702e08723bb0f607fb4fc9def
Author: LukeLiush <hanson311...@gmail.com>
Date:   2015-04-27T20:41:43Z

    https://issues.apache.org/jira/browse/TIKA-1535 Inheritance modification 
for the class MIMETypes

----


> 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
>            Assignee: Chris A. Mattmann
>            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)

Reply via email to