title: How to read values from a PDF file in java using PDFTable or PDFTableExtractor class?
body: <p>I have tried with <strong>PDFTextStripperByArea</strong> and <strong>PDPageContentStream</strong> classes to extract the number values from my pdf file. <em>They work fine!</em></p>
  
  <p>But my requirement is to use <strong>PDFTable</strong> or <strong>PDFTableExtractor</strong> class to read the pdf contents. Can you tell me what is the <strong><em>maven dependency</em></strong> and <strong><em>jar file</em></strong> I need to use to access the above said classes? 
  Also mention the <em>required methods</em> to get the values from a particular position.</p>
  
  <p>I have another doubt. <em>Can we extract the table formatted data from PDF file as it is?</em> I meant the data with rows and columns with table lines. If a page contains some text and a table, can we just read only the table headers and the rows? <strong><em>I have uploaded my page in GitHub</em></strong>. Click <a href="https://github.com/vengat03/My-Workspace/blob/master/Debit_Note.jpg" rel="nofollow noreferrer" title="Image contains Text with table values">here</a>! From that image, I only need the values of <em>Gross premium, GST and Total Payable</em>. Please let me know whether it's possible</p>