org.apache.pdfbox
Class ExtractText

java.lang.Object
  extended by 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 Summary
static void main(String[] args)
          Infamous main method.
 void startExtraction(String[] args)
          Starts the text extraction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.