如何从Google Excel工作表中的网址阅读pdf? [英] How to read a pdf from a url which is present in the Google excel sheet ?

查看:90
本文介绍了如何从Google Excel工作表中的网址阅读pdf?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个谷歌excel表格,我有列包含pdf列表我必须阅读所有pdf并在每个pdf中搜索一个单词。如果单词存在,我必须返回yes。

excel表有1000 pdf

所以任何人都可以帮我写代码/建议一个方法在java中做这个???



我尝试了什么:



所以任何人都可以帮我编写代码/建议在java中执行此操作的方法吗? ??

I have a google excel sheet in that i have column which contain list of pdf i have to read all the pdf and search for a word in each pdf.And i have to return yes if the word is present.
excel sheet has 1000 pdf
so can anyone help me to write code/suggest a method to do it in java???

What I have tried:

so can anyone help me to write code/suggest a method to do it in java???

推荐答案

引用:

所以任何人都可以帮我写代码/建议用java做一个方法???

so can anyone help me to write code/suggest a method to do it in java???



这不是你试过的 - 它是你没有尝试过任何东西。

我们不是来为你做你的工作。



所以从第一原则开始:将它分成更小的块并按顺序执行每个块。 br />
首先,了解如何访问Excel工作表,并提取内容。

然后,使用该内容依次查找每个PDF文件。

接下来,了解如何阅读每个PDF文件并获取其内容。

最后搜索内容你的话并报告结果。



如果任何块太复杂而不能轻易做到,请将其分成较小的块,直到达到块大小为止你可以做到。



这并不复杂:非常简单的Google-fu将依次为您找到每个块的基础知识,然后您只需要将基础知识调整为适合你的确切需要。

但这是你的任务,而不是我们的任务:所以我们希望你付出努力,而不仅仅是要求我们为你编写代码。

试一试:如果遇到特定问题,请询问。但是不要指望我们为你做这一切!


That isn't "what you have tried" - it's "you haven't tried anything".
And we aren't here to do your work for you.

So start from first principles: break it into smaller chunks and do each chunk in sequence.
First, find out how to access the Excel sheet, and extract the content.
Then, use that content to find each PDF file in turn.
Next, find out how to read each PDF file and get it's content.
Finally search the content for your word and report the results.

If any chunk is too complicated to do easily, break it into smaller chunks until you get to a "chunk size" you can do.

That's not complicated: pretty simple Google-fu will find you the basics of each "chunk" in turn and then all you have to do is adapt the basics to fit your exact need.
But this is your task, not ours: so we expect you to put in the effort, not just ask us to "write a code" for you.
Give it a try: if you meet a specific problem then ask about that. But don't expect us to do it all for you!


这篇关于如何从Google Excel工作表中的网址阅读pdf?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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