Class ExtractText

java.lang.Object
org.apache.pdfbox.ExtractText

public class ExtractText extends Object
This is the main program that simply parses the pdf document and transforms it into text.
Version:
$Revision: 1.14 $
Author:
Ben Litchfield
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Infamous main method.
      Parameters:
      args - Command line arguments, should be one and a reference to a file.
      Throws:
      Exception - If there is an error parsing the document.
    • startExtraction

      public void startExtraction(String[] args) throws Exception
      Starts the text extraction.
      Parameters:
      args - the commandline arguments.
      Throws:
      Exception - if something went wrong.