简体   繁体   中英

How to Read Line From PDF file And Store In Database Table by java

I Want to read line from pdf file & store every line in the Database table using java.

For Example I have Pdf file like This: Pdf Page

I want to add 1st line into first column (ie Q) of database table, 2ndline into second column (A),3rd (B)and 4th(C) & 5th (D) Respectively. There are Number of Questions & their Options Present in the Pdf.

I Mean like This: Result

Every Question Should Store in new Row of Table.

you can have a look to this one:

https://mkyong.com/java/itext-read-and-write-pdf-in-java/

You can use iText to read/write from/to a .pdf file.

https://itextpdf.com/en

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