Class ExtractText

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

public final class ExtractText extends Object
This is the main program that simply parses the pdf document and transforms it into text.
Author:
Ben Litchfield, Tilman Hausherr
  • Method Details

    • main

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

      public void startExtraction(String[] args) throws IOException
      Starts the text extraction.
      Parameters:
      args - the commandline arguments.
      Throws:
      IOException - if there is an error reading the document or extracting the text.