Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

program to read and extract data from pdf file  RSS feed

 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Report post to moderator
yes ulm
i am able to get all the text of pdf on the command prompt .

now i have to extract one particular string or may be more based on the requirement into an ordinary text document .

for example :
sample.pdf is my pdf file and have a data "javaranch" in some location in the pdf (currently it has got displayed on the command prompt)

now i should be able to extract that string "javaranch" into an ordinary text file /document .

i searched for the function to get a particular word into text doc in the pdfbox api in that PDFTextStripper but not able to find one

awaiting reply
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
ulm


Be careful to use the "Post Reply" button instead of starting new topics with your replies. Please post this in the original topic, and then we can continue the discussion.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!