Tika 与安卓兼容吗? [英] Is Tika compatible with android?

查看:35
本文介绍了Tika 与安卓兼容吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到 Apache Tika 的 1.0 版本,它在 Java 中简化了很多元数据提取,我想知道它是否可以在 Android 中使用.

I have seen the 1.0 release of Apache Tika, which ease a lot metadata extraction in Java, and I'm wondering if it can be used in Android.

推荐答案

我怀疑您将 Tika 的核心移植到 Android 应该没问题.但是,您可能会遇到 Tika 的许多依赖项的问题,因此许多解析器将无法运行

I'd suspect you should be fine to port the core of Tika to Android. However, you're likely to have issues with a lot of the dependencies of Tika, so many of the parsers won't work

例如,Apache Tika 的依赖项之一是 Apache POI.人们曾尝试为 Android 编译 POI,但遇到了 Android 强加的方法限制问题.这是一个讨论 在 POI 列表中,这是另一个.

For example, one of the dependencies of Apache Tika is Apache POI. People have tried to compile POI for Android, but have hit issues with the method limit that Android imposes. Here's one discussion on this on the POI lists, and here's another.

您也可能会遇到与 Tika 的其他依赖项类似的问题.因此,我希望获得核心不会太糟糕,但您必须删除一些解析器以适应 Android 限制.

You're likely to hit similar issues with other of the dependencies of Tika too. So, I'd expect getting the core in won't be too bad, but you'll have to cut out some of the parsers to fit within the Android limitations.

这篇关于Tika 与安卓兼容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆