You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Michael Bostwick (JIRA)" <ji...@apache.org> on 2008/07/16 20:34:33 UTC

[jira] Created: (NUTCH-637) Add method to nutch and tika system(Code written)

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


  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.


[jira] Commented: (NUTCH-637) Add method to nutch and tika system(Code written)

Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639059#action_12639059 ] 

Andrzej Bialecki  commented on NUTCH-637:
-----------------------------------------

Unless there are more arguments in favor of this issue, I suggest closing it as Won't Fix.

> 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.


[jira] Closed: (NUTCH-637) Add method to nutch and tika system(Code written)

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doğacan Güney closed NUTCH-637.
-------------------------------

    Resolution: Won't Fix

> 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.


[jira] Commented: (NUTCH-637) Add method to nutch and tika system(Code written)

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
    [ 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.