You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2019/10/17 17:21:00 UTC
[jira] [Issue Comment Deleted] (TIKA-2962) Tika在识别以caff开头的txt类型文档时,会错误地把它识别为 audio/x-caf 音频文件
[ https://issues.apache.org/jira/browse/TIKA-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated TIKA-2962:
----------------------------------
Comment: was deleted
(was: I loged in with my Apache user/psw. Yes please open a ticket. Here are the memberships I have on JIRA:
h3. Groups
* committers
* confluence-users
* fisheye-users
* hudson-jobadmin
* jira-users
* pdfbox
* pdfbox-pmc
* tika
* tika-pmc
and this is the "More" menu here:
!image-2019-10-17-18-00-11-135.png!
)
> Tika在识别以caff开头的txt类型文档时,会错误地把它识别为 audio/x-caf 音频文件
> --------------------------------------------------
>
> Key: TIKA-2962
> URL: https://issues.apache.org/jira/browse/TIKA-2962
> Project: Tika
> Issue Type: Bug
> Components: core
> Affects Versions: 1.20
> Reporter: Feng Jiao Jiang
> Priority: Critical
> Attachments: 1.txt
>
>
> public String getFileType(File file) {
> String fileType = "";
> try {
> Tika tika = new Tika();
> fileType = tika.detect(file);
> } catch (Exception e) {
> e.printStackTrace();
> }
> return fileType;
> }
> 以上代码在识别以caff开头的txt类型文档时,会错误地把它识别为 audio/x-caf 音频文件
--
This message was sent by Atlassian Jira
(v8.3.4#803005)