JIRA
Mon, 22 Sep 2008 09:47:04 -0700
[
https://issues.apache.org/jira/browse/NUTCH-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633376#action_12633376
]
Doğacan Güney commented on NUTCH-637:
-------------------------------------
Why do you need this method?
(Content-type is already auto-discovered for a content anyway...)
> Add method to nutch and tika system(Code written)
> -------------------------------------------------
>
> Key: NUTCH-637
> URL: https://issues.apache.org/jira/browse/NUTCH-637
> Project: Nutch
> Issue Type: Task
> Environment: ALL
> Reporter: Michael Bostwick
> Fix For: 1.0.0
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> public MimeType getMimeType(byte[] content){
> return this.mimeTypes.getMimeType(content);
> }
> paste this code into nutch/src/java/org/apache/nutch/util/MimeUtil.java
> which will allow byte content to be used to determine file type
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.