-2

I am trying to read a .pdf file the same way you read a .txt file. I need to parse the pdf file to obtain some information.

  • 1
    and you haven't researched anything? – f1sh Oct 24 '17 at 23:09
  • 2
    Possible duplicate of [Advanced PDF parser for Java](https://stackoverflow.com/questions/5449903/advanced-pdf-parser-for-java) – f1sh Oct 24 '17 at 23:09
  • Possible duplicate of [How to read PDF files using Java?](https://stackoverflow.com/questions/4784825/how-to-read-pdf-files-using-java) – Makyen Oct 25 '17 at 05:53

1 Answers1

0

Refering to this Stack Exchange article (Your question is probably a duplicate)

How to read PDF files using Java?

Use a library like Apache's PDFBox to do it.

Please do some basic research next time before you ask a question, I found tons of answers in about three minutes.

Cheers!

Jacob B.
  • 423
  • 3
  • 12