Hello All, I have a scenario, in which i have to read a PDF file and write it into a normal text file, is it possible? If yes, please let me know how to do it.
Thanks In advance, Sri.
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
9
posted
0
If you know the format of any file then it is possible to read it. You can find the PDF specification here. There are also several Java PDF APIs available. Try Google and see if any of them do what you require.
Joanne
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
The AccessingFileFormats wiki page lists several libraries that can work with PDF files. If you just want to extract the text it contains then JPedal is probably the best optioption (or PDFTextStream if you have a budget).