How do I read a particular page (given a page number) from a PDF document using PDFBox?
Add this to the command-line call:
ExtractText -startPage 1 -endPage 1 filename.pdf
Change 1 to the page number that you need.