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

Caleb Cushing commented on TIKA-3409:
-------------------------------------

Yes, and then to do what should be a very quick check, anyone who wants to
ask this question has to write the same logic, and probably do what I'm
doing, write a wrapper library around Tika to do it.

The reason I'm opening this issue is it feels like an abstraction that Tika
could easily provide, and in my opinion should.


> provide isBinary/isText method
> ------------------------------
>
>                 Key: TIKA-3409
>                 URL: https://issues.apache.org/jira/browse/TIKA-3409
>             Project: Tika
>          Issue Type: New Feature
>            Reporter: Caleb Cushing
>            Priority: Major
>
> Since tika can detect what kind of file something is, it could also know 
> whether that file type is binary or not, I'd love to have a method  
> `MimeType::isBinary` or something, so I could know if I could try "parsing" 
> the file.
> related https://stackoverflow.com/q/620993/206466



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to