You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/09/13 09:18:32 UTC

[jira] Commented: (TIKA-12) Add URL capability to MimeTypesUtils

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

Jukka Zitting commented on TIKA-12:
-----------------------------------

The FIXME comment isn't really obsolete, see TIKA-8 and TIKA-6 for the plan for MIME type detection.

Anyway, the patch is a nice incremental improvement, and I applied it with minor modifications in revision 575199. Thanks!

> Add URL capability to MimeTypesUtils
> ------------------------------------
>
>                 Key: TIKA-12
>                 URL: https://issues.apache.org/jira/browse/TIKA-12
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>             Fix For: 0.1-incubator
>
>         Attachments: tika-12.patch
>
>
> Assuming we will need to work with URL's, it would be helpful for MimeTypesUtils to return the mime type for a URL.  Currently it only works on Files.
> I think we will need to handle URL's.  My immediate need for URL's is to use getClass().getResource("a_config_file_name") to locate configuration files at test time.

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


Re: [jira] Commented: (TIKA-12) Add URL capability to MimeTypesUtils

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 9/13/07, kbennett <kb...@bbsinc.biz> wrote:
> Did you want to add to the repository the test class included in the patch
> (or was it not included)?

Ah, sure. Sorry for missing that, I applied the patch but only
committed the src/main/java part...

Test case committed in revision 575384.

BR,

Jukka Zitting

Re: [jira] Commented: (TIKA-12) Add URL capability to MimeTypesUtils

Posted by kbennett <kb...@bbsinc.biz>.
Jukka -

Thanks for applying the patch.  Sorry about the FIXME error.

Did you want to add to the repository the test class included in the patch
(or was it not included)?

- Keith



JIRA jira@apache.org wrote:
> 
> 
>     [
> https://issues.apache.org/jira/browse/TIKA-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527000
> ] 
> 
> Jukka Zitting commented on TIKA-12:
> -----------------------------------
> 
> The FIXME comment isn't really obsolete, see TIKA-8 and TIKA-6 for the
> plan for MIME type detection.
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28TIKA-12%29-Add-URL-capability-to-MimeTypesUtils-tf4424713.html#a12659702
Sent from the Apache Tika - Development mailing list archive at Nabble.com.