[
https://issues.apache.org/jira/browse/TIKA-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved TIKA-258.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.4
Assignee: Jukka Zitting
Good idea, thanks! I committed a slightly modified version of the patch in
revision 793410. I renamed the MimeTypes field and related methods to better
reflect that only the Detector functionality is used. Also added some simple
javadocs.
> AutoDetectParser does not allow to use alternative mime detector
> ----------------------------------------------------------------
>
> Key: TIKA-258
> URL: https://issues.apache.org/jira/browse/TIKA-258
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.4
> Reporter: Maxim Valyanskiy
> Assignee: Jukka Zitting
> Fix For: 0.4
>
> Attachments: mimedetector.patch
>
>
> There is no way to use other mime-detector in AutoDetectParser since
> setMimeTypes method accepts only final class MimeTypes. Trivial patch that
> solved this is attached.
> Alternative mime-detector is required to workaround TIKA-257 bug
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.