jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2334) Tika-based type detection in jcr-server
Date Wed, 28 Oct 2009 16:59:59 GMT

    [ https://issues.apache.org/jira/browse/JCR-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770992#action_12770992
] 

Jukka Zitting commented on JCR-2334:
------------------------------------

Committed the patch in revision 830670.

Felix:
> in the Apache Sling WebDAV bundle, I made use of the ability to inject a custom MimeResolver
to be able to use Sling's mime type resolver. 

You can still provide custom type detection functionality by injecting an implementation of
the org.apache.tika.detect.Detector interface.

> I would actually favor a solution which would provide a Tika-based Mime Resolver. 

The Detector interface is more expressive than the MimeResolver class we've used so far, so
a Tika-based MimeResolver would not be as powerful a solution. For example the MimeResolver
class did not support things like content sniffing or Content-Type hints.

> Tika-based type detection in jcr-server
> ---------------------------------------
>
>                 Key: JCR-2334
>                 URL: https://issues.apache.org/jira/browse/JCR-2334
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>         Attachments: JCR-2334.patch, JCR-2334.patch
>
>
> As discussed on dev@, I'd like to make the jackrabbit-jcr-server component use Apache
Tika for automatic media type detection.

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


Mime
View raw message