简体   繁体   中英

How do you read a .PDF file the same way you read .txt file using scanner. This is in java for android

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.

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM