You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Keith R. Bennett (JIRA)" <ji...@apache.org> on 2007/10/18 20:57:50 UTC

[jira] Updated: (TIKA-81) Need a default constructor for MimeUtils.

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

Keith R. Bennett updated TIKA-81:
---------------------------------

    Attachment: tika81.patch

This patch adds a default constructor to MimeUtils.

> Need a default constructor for MimeUtils.
> -----------------------------------------
>
>                 Key: TIKA-81
>                 URL: https://issues.apache.org/jira/browse/TIKA-81
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: tika81.patch
>
>
> Since the default configuration is very often sufficient, we need to provide a constructor for MimeUtils that does not require explicitly specifying a configuration filespec.  We can easily get the default configuration from TikaConfig.getDefaultConfig(), though that's inefficient and not a good long term solution.  A longer term solution might remove the distinction between MimeUtils and MimeTypes altogether.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.