Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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???
Posted
Updated 11-Feb-17 22:38pm
Comments
Afzaal Ahmad Zeeshan 12-Feb-17 4:35am    
You can find a good library on Google. Easily.

1 solution

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

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!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900